From: David <dba...@gm...> - 2006-01-30 17:47:36
|
Hello. I am looking into using Ruby to manipulate some data in my Cocoa-based application. I found the excellent documentation written by Tom Burks but it is not detailed enough on how to add this functionality to an existing Cocoa app in XCode. What I am looking for is the necessary changes needed to my project to allow my Cocoa app based on XCode 2.2 running on Tiger to call Ruby routines passing in NSArray objects with the minimum amount of changes to my project. I assume I need to at least add the RubyCocoa framework. After doing this and importing "RubyCocoa/RubyCocoa.h" I get an error: /Library/Frameworks/RubyCocoa.framework/Headers/osx_ruby.h:21:20: error: config.h: No such file or directory I also looked at the HybridLangApp sample but it is based on RBApplicationMain instead of NSApplicationMain. Thanks for any assistance. |