[MacRuby-devel] Custom URL scheme (again)

Caio Chassot lists at caiochassot.com
Tue Jan 11 08:49:49 PST 2011


On 2011-01-11, at 14:30 , Martin Hawkins wrote:
>   sharedAEManager.setEventHandler(self,
> andSelector: :"getURL:event:withReplyEvent:returnEvent",
> forEventClass: KInternetEventClass, andEventID:KAEGetURL)
>> 
>  def getURL(event, withReplyEvent:returnEvent)

So the selector for that method declaration would be:

"getURL:withReplyEvent:"

Notice the trailing colon.



More information about the MacRuby-devel mailing list