• 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 question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO question


  • Subject: Re: KVO question
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 5 Jul 2010 16:08:15 -0400
  • Organization: Rogue Research Inc.

On Thu, 1 Jul 2010 10:30:39 -0700, Rainer Standke said:

>I have a core data app where I don't necessarily know when managed
>objects go away, as in: become faults, will be deleted etc..

You know they become faults when willTurnIntoFault is invoked.  You'll
know they'll be deleted when prepareForDeletion is invoked.

> I also need
>to add the observer to the managed object in awakeFromFetch, but that
>gets not only called upon opening an existing object, but also later on
>when fetches are executed.

Tell us more about what you're doing.  Who's observing who?  When?  Why?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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 question (From: Rainer Standke <email@hidden>)
 >Re: KVO question (From: Kyle Sluder <email@hidden>)
 >Re: KVO question (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re. CoreData Problems
  • Next by Date: Re: Core Data : Save As : Object temporarily missing in fetch results
  • Previous by thread: Re: KVO question
  • Next by thread: Re: KVO question
  • Index(es):
    • Date
    • Thread