From: Bryan B. <bry...@sa...> - 2008-05-05 22:38:21
|
I'm trying to use RubyCocoa for some automated testing of an Objective- C framework I have written. I successfully imported the framework using the OSX.require_framework but I am having trouble using the objects within the framework. Whenever I try to declare a new variable using myObject = myCustomObject.alloc.init() (where myCustomObject is part of the successfully loaded framewor) I keep getting "unitialized constant myCustomObject (NameError)." What is the proper way to use the objects inside of the loaded framework? Also... I had some issues with relative paths and the require_framework method. Is there any way to pass a relative path to this method? Thanks, Bryan |