Hi Alex,
The "Embed MacRuby" isn't perfect yet. You have to first build your project
normally and then built it with the proper target.
I guess Laurent would accept a patch if you care to spend some time fixing
this issue.
- Matt
On Mon, Apr 27, 2009 at 8:43 PM, Alex Vollmer wrote:
> I've bee
I've been trying to get my Xcode project setup correctly with the
"Embed MacRuby" target. I've made the two-line change as suggested in
tutorial and, unless I execute the target, I'm unable to load any Ruby
classes. So then I made the "Embed…" target a pre-requisite of my
application build.
On Apr 27, 2009, at 2:23 PM, Brian Marick wrote:
On Apr 26, 2009, at 12:09 PM, rebotfc wrote:
errorp = Pointer.new_with_type("@")
result = NSXMLDocument.alloc.initWithData(data,
options:NSXMLDocumentValidate, error:errorp)
# access error
errorp[0]
So the RubyCocoa style of having by-ref
On Apr 26, 2009, at 12:09 PM, rebotfc wrote:
errorp = Pointer.new_with_type("@")
result = NSXMLDocument.alloc.initWithData(data,
options:NSXMLDocumentValidate, error:errorp)
# access error
errorp[0]
So the RubyCocoa style of having by-reference arguments returned as
extra return values