[MacRuby-devel] Custom url scheme

Caio Chassot lists at caiochassot.com
Mon Jan 10 10:28:02 PST 2011


On 2011-01-10, at 15:52 , Martin Hawkins wrote:
> 
> Thanks Matt, I've got the book but missed that point.
> Any suggestions re my second issue. i.e. translating the selector part

You can pass a selector as a symbol or string:

m.setEventHandler(self, andSelector: :"getURL:event:withReplyEvent:returnEvent:", …
m.setEventHandler(self, andSelector:"getURL:event:withReplyEvent:returnEvent:", …




More information about the MacRuby-devel mailing list