From: Steven A. <st...@ne...> - 2005-09-06 05:56:04
|
Hi, In the irb session below I require/include needed libraries and then attempt to use the NSIndexSet class. This worked under PyObjC but does not seem to work under RubyCocoa. The docs suggest that NSIndexSet should respond to indexSetWithIndex:. Any ideas what's going on? Is this a bug? steve irb(main):035:0> require 'osx/cocoa' => true irb(main):037:0> include OSX => Object irb(main):039:0> NSIndexSet.alloc.indexSetWithIndex(3) OSX::OCMessageSendException: NSIndexSet#indexSetWithIndex: - methodSignature is nil. from /Library/Frameworks/RubyCocoa.framework/Versions/A/ Resources/ruby/osx/objc/oc_wrapper.rb:17:in `ocm_send' from /Library/Frameworks/RubyCocoa.framework/Versions/A/ Resources/ruby/osx/objc/oc_wrapper.rb:17:in `method_missing' from (irb):39 from :0 irb(main):040:0> NSIndexSet.alloc.indexSetWithIndex() OSX::OCMessageSendException: NSIndexSet#indexSetWithIndex - methodSignature is nil. from /Library/Frameworks/RubyCocoa.framework/Versions/A/ Resources/ruby/osx/objc/oc_wrapper.rb:17:in `ocm_send' from /Library/Frameworks/RubyCocoa.framework/Versions/A/ Resources/ruby/osx/objc/oc_wrapper.rb:17:in `method_missing' from (irb):40 from :0 |