Hey all
If I wanted to access a web service within ruby cocoa, would i need to
do…
OSX::NSBundle.bundleWithPath("/path/to/WebServiceCore.framwork").ocm_send(:load)
and then use the OOC bridge within that, or is it possible to use the
nice ruby wrapper SOAP4R? If i wanted to use that wouldnt i need to make
it a descendant of NSObject?
Thanks
Tim
On 2007/03/27, at 17:57, Tim P. wrote:
If I wanted to access a web service within ruby cocoa, would i need to
do…
OSX::NSBundle.bundleWithPath("/path/to/
WebServiceCore.framwork").ocm_send(:load)
You can use require_framework to load a framework with RubyCocoa 0.10
or later. Though it may be not worked for WebServieCore:
OSX.require_framework “CoreGraphics”
and then use the OOC bridge within that, or is it possible to use the
nice ruby wrapper SOAP4R? If i wanted to use that wouldnt i need to
make
it a descendant of NSObject?
SOAP4R never depend on NSObject/Cocoa/Mac OS. Why do you need to do
that?
that is you can just use it regardless of NSObject.