Re: Best time to add observers for managed object?
Re: Best time to add observers for managed object?
- Subject: Re: Best time to add observers for managed object?
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 10 Jul 2005 00:14:27 -0700
On Jul 10, 2005, at 12:01 AM, Charilaos Skiadas wrote:
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?
What are you wanting to observe? It may be appropriate to either
override the initialiser, or to override both awakeFromInsert and
awakeFromFetch (and probably invoke a common method from the two).
mmalc
_______________________________________________
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