rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Add in exploratory deferrable delegates for easily passing on callbacks and chaining them together #407

Closed jonmorehouse closed 9 years ago

jonmorehouse commented 9 years ago

I'm using this feature to help when nesting deferrables. If this is something that makes sense in Bubble-Wrap upstream, let me know and I'll write out some coverage for this functionality.

clayallsopp commented 9 years ago

I can see this being handy, so yeah definitely add some tests + a liner in README.md :)

jonmorehouse commented 9 years ago

I didn't see any specs covering deferrable functionality. I wrote out a basic spec for the base functionality as well as covered my new delegate methods. I'll try to find sometime to expand the deferrable spec, but for now, I think this may be sufficient?

clayallsopp commented 9 years ago

That's great, definitely sufficient. Thanks!