Defining an objc selector
Hi Is it possible to define a objc selector for an interface? I tried something like this: (capi:define-interface test-interface () .... ) (objc:define-objc-method ("testmethod" (:int)) ((self test-interface)) nil) (let* ((interface (make-instance 'test-interface))) (win (objc:invoke (objc:invoke "NSApplication" "sharedApplication") "windowWithWindowNumber:" (capi:simple-pane- handle *i*)))) (objc:invoke win "testmethod")) But it doesn't work: No method "testmethod" for object #<Pointer: OBJC:OBJC-OBJECT-POINTER = #x1699E160> Any ideas? Erik