scalanative-cocoa icon indicating copy to clipboard operation
scalanative-cocoa copied to clipboard

Provide annotation for explicit definition of selector

Open jokade opened this issue 8 years ago • 0 comments

We need to support an annotation for overriding the selector on a given extern method, e.g.

  @selector("foo:name:")
  def fooWithName(id: id, name: NSString): Unit = extern
  def foo(id: id, bar: NSString): Unit = extern

This is necessary to create bindings to methods that are identical in the method name and signature, but differ in the selector.

jokade avatar Aug 27 '17 19:08 jokade