Saturday, March 3, 2012

Lazy Load in Objective-C, Defined

I've gotten tired of writing the same lazy-load function over and over again. Here it is, once and for all: And then you can use it like this:

No comments: