Re: KVO can be unsafe in -init?
Re: KVO can be unsafe in -init?
- Subject: Re: KVO can be unsafe in -init?
- From: Uli Kusterer <email@hidden>
- Date: Sun, 13 Sep 2009 08:50:02 +0200
Am 09.09.2009 um 11:02 schrieb John Chang:
No, it's a singleton. Basically it's a "manager" object that wants
to continually monitor something else for changes. Also, -
addObserver is the last line of code in -init, before the return.
This article may be of interest to you:
http://zathras.de/blog-defensive-coding-in-objective-c.htm
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden