• 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
Best time to add observers for managed object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best time to add observers for managed object?


  • Subject: Best time to add observers for managed object?
  • From: Charilaos Skiadas <email@hidden>
  • Date: Sun, 10 Jul 2005 02:01:21 -0500

Simple question: What is the best place to add an observer for a managed object?
I tried to add my observer at awakeFromInsert, and it works for newly created objects, but when I load a saved document, awakeFromInsert does not get called for the objects that where stored in the document.
Is there a better place to insert the observer? Would I actually have to override the designated initializer?


thanks,
Haris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Best time to add observers for managed object?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: "untitled" vs "Untitled"
  • Next by Date: Re: Best time to add observers for managed object?
  • Previous by thread: Reporting typos (was "Re: Documentation frustrations")
  • Next by thread: Re: Best time to add observers for managed object?
  • Index(es):
    • Date
    • Thread