Posted at 2010-04-13 16:25 | RSS feed (Full text feed) | Blog Index
Next article: Friday Q&A 2010-04-16: Implementing Fast Enumeration
Previous article: Friday Q&A 2010-04-09: Comparison of Objective-C Enumeration Techniques
Tags: blocks continuation objectivec
Next article: Friday Q&A 2010-04-16: Implementing Fast Enumeration
Previous article: Friday Q&A 2010-04-09: Comparison of Objective-C Enumeration Techniques
Tags: blocks continuation objectivec
An Objective-C Continuations Library
A couple of months ago I wrote about using Continuation Passing Style in Objective-C as an alternative technique for returning errors from methods. The major downside to that technique is that it integrates poorly with Cocoa, since Cocoa isn't written to use CPS. Jordan Breeding has spent the intervening time building up an impressive CPS adapter library which allows converting any Cocoa NSError **
call into CPS style with virtually no work. Source code and extensive examples are available, and I encourage you to check it out.
Did you enjoy this article? I'm selling whole books full of them! Volumes II and III are now out! They're available as ePub, PDF, print, and on iBooks and Kindle. Click here for more information.
Comments:
Kentzo at 2010-10-16 16:04:12:
http://www.jordanbreeding.com/blog/2010/4/8/introducing-continuations-for-objective-c.html isn't available anymore.
Looks like it's now here for some reason:
http://www.jordanbreeding.com/blog/2010/4/7/introducing-continuations-for-objective-c.html
http://www.jordanbreeding.com/blog/2010/4/7/introducing-continuations-for-objective-c.html
Comments RSS feed for this page
Add your thoughts, post a comment:
Spam and off-topic posts will be deleted without notice. Culprits may be publicly humiliated at my sole discretion.