On Mon, Aug 1, 2011 at 10:12 AM, Kyle Sluder <[email protected]> wrote: > if it's necessary to store the shared instance in an ivar, why not do > the following:
Wow, I need coffee. ivars vs class variables… Wow. Forget that second example. That's just terrible. Imagine, instead, I used whatever storage mechanism Dave recommended. Or even objc_setAssociatedObject on the class object itself. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
