Oh right, I don't have a mapping for "start" but that's pretty easy to add. The "finish" mapping is the optional block you pass to the helper method. Once the request is processed, the block is being called.
I'm wondering if these callbacks, shouldn't be defined using accessors instead. passing too many options via a hash is kinda nasty, don't you think? The problem with adding accessors to the helper is that now I need to use a kicker method and we end up with almost the same API as the default obj-c api :p
- Matt
Hi Matt,The one thing I didn't notice in your API was having explicit mappings for "start" and "finish", (though I see "progress" on your TODO).
On Mar 30, 2009, at 2:37 PM, Matt Aimonetti wrote:
Pretty cool, my library does(will do) what Shoes does but with more flexibility (you can assign any class/objects as a delegates and it supports more options (including using your keychain for auth)).
Did/do you use Shoes, if so, I'd be interested in knowing what you think we are missing or what we should look at.
-- Ernie P.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel