Re: Obtaining a reference to an entity's context's owner
Re: Obtaining a reference to an entity's context's owner
- Subject: Re: Obtaining a reference to an entity's context's owner
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 5 May 2005 11:38:12 -0700
On May 5, 2005, at 11:29 AM, SA Dev wrote:
How is the document aware of the change. At what point do I hook
in to tell it that, when a Keyword is modified, it needs to perform
a string search on all Page objects' "content" properties, then
toggle its "needsSync" flag?
How is the change being made? There must be some event that triggers
the change?
In general there are a number of approaches:
If a text field is edited, you could watch for changes there; you
could register as an observer of the Keyword attributes; you could
register for NSManagedObjectContextObjectsDidChangeNotification
notifications...
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