Tuesday, June 21, 2011 [Tweets]

Lazy Evaluation in Objective-C

Rob Rix:

Applying the runtime techniques we described above yields a function, TESSValueize, which takes a block and swizzles it to be a member of a subclass (dynamically created if it does not already exist), copying in methods from the TESSValue class which conforms to the TESSValue protocol (remember that protocols and classes have different namespaces).

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment