[MacRuby-devel] Custom url scheme

Martin Hawkins martin.hawkins at gmail.com
Mon Jan 10 10:29:16 PST 2011


Joel, I've also got to change getURL to
  def getURL(event, returnEvent)
    # do something with event here to parse the url
  end
so I go with your suggestion, I'm going to get 'wrong number of
arguments (0 for 2)'


On Jan 10, 5:59 pm, Joel Reymont <joe... at gmail.com> wrote:
> On Jan 10, 2011, at 5:52 PM, Martin Hawkins wrote:
>
> > sharedAEManager.setEventHandler(self, andSelector:getURL(event,
> > withReplyEvent:returnEvent), forEventClass:kInternetEventClass,
> > andEventID:kAEGetURL)
>
> This does not produce any errors:
>
>    sharedAEManager.setEventHandler(self, andSelector:getURL,
> forEventClass:KInternetEventClass, andEventID:KAEGetURL)
>
> ---http://wagerlabs.com| @wagerlabs |http://www.linkedin.com/in/joelreymont
>
> _______________________________________________
> 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