Building Cocoa Apps with MacRuby
Hello, I wrote up some thoughts on building cocoa applications with MacRuby last night and would love to hear any thoughts other people have. You can see the article at http://everburning.com/news/ramblings-on-programming-cocoa-with-ruby/ . I've been trying several different methods, HotCocoa, XCode templates, command line and haven't quite figured out a way that feels right and would love some insight from other developers. Thanks, dan
Xcode has some scripting capability. Might you be able to hack up some scripts to automate away some of the hassle? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, system design
I tried using TextMate with XCode for a while but I didn't like having to switch back and forth between the two all the time. It felt clunky to develop in TextMate and build and see the debug output in XCode. Having to run XCode just to be able to build the application felt heavy. That was part of the reason why I switched to a pure Rakefile method. dan On 2010-06-17, at 1:43 PM, Rich Morin wrote:
Xcode has some scripting capability. Might you be able to hack up some scripts to automate away some of the hassle?
-r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, system design _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
The way I'm currently doing it is with two separate apps as well. I keep the Xcode GDB window open for building and debug output and I have MacVim open for editing the code. Of course, I have to open up the main project window if I want to add some files to the project, but I find that having Xcode open anyways is a good idea because I need to consult the documentation quite often (I'm new to Cocoa). -- Michael Jackson http://mjijackson.com @mjijackson On Thu, Jun 17, 2010 at 11:52 AM, dan sinclair <dj2@everburning.com> wrote:
I tried using TextMate with XCode for a while but I didn't like having to switch back and forth between the two all the time. It felt clunky to develop in TextMate and build and see the debug output in XCode. Having to run XCode just to be able to build the application felt heavy. That was part of the reason why I switched to a pure Rakefile method.
dan
On 2010-06-17, at 1:43 PM, Rich Morin wrote:
Xcode has some scripting capability. Might you be able to hack up some scripts to automate away some of the hassle?
-r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, system design _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Dan, Good writeup. I basically do as Michael Jackson has described, but with Textmate. I would also like to dispense with XCode. I have moved away from Hot Cocoa as it seems to be dead or unloved, but also found IB much easier to use in the end. Looking at the rakefile in your Touchstone project has left me a bit confused. What do you use the Console task for? Thanks, Dave. On 17 Jun 2010, at 18:32, dan sinclair wrote:
Hello,
I wrote up some thoughts on building cocoa applications with MacRuby last night and would love to hear any thoughts other people have. You can see the article at http://everburning.com/news/ramblings-on-programming-cocoa-with-ruby/ .
I've been trying several different methods, HotCocoa, XCode templates, command line and haven't quite figured out a way that feels right and would love some insight from other developers.
Thanks, dan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Note that in Xcode 4, IB is not a separate app anymore, making this kind of setup much harder :( - Matt On Sat, Jun 19, 2010 at 11:56 AM, Dave Baldwin <dave.baldwin@dsl.pipex.com>wrote:
Hi Dan,
Good writeup. I basically do as Michael Jackson has described, but with Textmate. I would also like to dispense with XCode. I have moved away from Hot Cocoa as it seems to be dead or unloved, but also found IB much easier to use in the end.
Looking at the rakefile in your Touchstone project has left me a bit confused. What do you use the Console task for?
Thanks,
Dave.
On 17 Jun 2010, at 18:32, dan sinclair wrote:
Hello,
I wrote up some thoughts on building cocoa applications with MacRuby last night and would love to hear any thoughts other people have. You can see the article at http://everburning.com/news/ramblings-on-programming-cocoa-with-ruby/ .
I've been trying several different methods, HotCocoa, XCode templates, command line and haven't quite figured out a way that feels right and would love some insight from other developers.
Thanks, dan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
As long as I can still compile the .xib to a .nib outside of XCode then I'm fine with that. I still use XCode for the Core Data model editor. I just don't like having to add my files through the project system and build/debug in XCode. Prefer to do that from the command line. dan On Jun 19, 2010, at 3:10 PM, Matt Aimonetti wrote:
Note that in Xcode 4, IB is not a separate app anymore, making this kind of setup much harder :(
- Matt
On Sat, Jun 19, 2010 at 11:56 AM, Dave Baldwin <dave.baldwin@dsl.pipex.com> wrote: Hi Dan,
Good writeup. I basically do as Michael Jackson has described, but with Textmate. I would also like to dispense with XCode. I have moved away from Hot Cocoa as it seems to be dead or unloved, but also found IB much easier to use in the end.
Looking at the rakefile in your Touchstone project has left me a bit confused. What do you use the Console task for?
Thanks,
Dave.
On 17 Jun 2010, at 18:32, dan sinclair wrote:
Hello,
I wrote up some thoughts on building cocoa applications with MacRuby last night and would love to hear any thoughts other people have. You can see the article at http://everburning.com/news/ramblings-on-programming-cocoa-with-ruby/ .
I've been trying several different methods, HotCocoa, XCode templates, command line and haven't quite figured out a way that feels right and would love some insight from other developers.
Thanks, dan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
The console task was just a simple way for me to run macrib and load up all the model files I have. Some of the stuff can work fine without a UI and this just gave me an easy way to test things. Similar to the Rails script/console. dan On Jun 19, 2010, at 2:56 PM, Dave Baldwin wrote:
Hi Dan,
Good writeup. I basically do as Michael Jackson has described, but with Textmate. I would also like to dispense with XCode. I have moved away from Hot Cocoa as it seems to be dead or unloved, but also found IB much easier to use in the end.
Looking at the rakefile in your Touchstone project has left me a bit confused. What do you use the Console task for?
Thanks,
Dave.
On 17 Jun 2010, at 18:32, dan sinclair wrote:
Hello,
I wrote up some thoughts on building cocoa applications with MacRuby last night and would love to hear any thoughts other people have. You can see the article at http://everburning.com/news/ramblings-on-programming-cocoa-with-ruby/ .
I've been trying several different methods, HotCocoa, XCode templates, command line and haven't quite figured out a way that feels right and would love some insight from other developers.
Thanks, dan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (5)
-
dan sinclair
-
Dave Baldwin
-
Matt Aimonetti
-
Michael Jackson
-
Rich Morin