Exception: OSX::OCMessageSendException

Inherits:
RuntimeError
  • Object
show all
Defined in:
src/ruby/osx/objc/oc_exception.rb

Overview

Raised when message sending fails to Objective-C from Ruby.

Examples:

str = OSX::NSString.stringWithString('abc')
str.foo_bar_baz_
=> OSX::OCMessageSendException: Can't get Objective-C
   method signature for selector 'foo:bar:baz:' of
   receiver #<NSMutableString "abc">