[MacRuby-devel] Custom URL scheme (again)

Martin Hawkins martin.hawkins at gmail.com
Tue Jan 11 09:05:31 PST 2011


Caio wins again! Thanks - I was sure I had tried that already. Need to
be a bit more organised I think...
Thanks again.

On Jan 11, 4:49 pm, Caio Chassot <li... at caiochassot.com> wrote:
> 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.
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-de... at lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


More information about the MacRuby-devel mailing list