• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: KVO can be unsafe in -init?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >KVO can be unsafe in -init? (From: John Chang <email@hidden>)
 >Re: KVO can be unsafe in -init? (From: Graham Cox <email@hidden>)
 >Re: KVO can be unsafe in -init? (From: John Chang <email@hidden>)

  • Prev by Date: How to display AboutBox window in Agent Application
  • Next by Date: Core Data: How to find the NSPersistentStore of a managed object
  • Previous by thread: Re: KVO can be unsafe in -init?
  • Next by thread: Re: KVO can be unsafe in -init?
  • Index(es):
    • Date
    • Thread