• 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: CoreData - NSManagedObjectContext notifications - Save vs DidChange ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ?


  • Subject: Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ?
  • From: Simon Liu <email@hidden>
  • Date: Thu, 6 Oct 2005 15:22:10 +0100

> Yes - you must save for alternate contexts to be able to pick up the
> changes on refresh.
>
> Jim

Thanks Jim...

What if the attribute to be changed in the background is an ivar
attribute, which is not represented in the data model?  Is it safe to
update the attribute directly from another thread without having to
use private contexts and local copies of managed objects?

(I don't think the private context / notification approach actually
works for ivar attributes, since the attribute doesn't actually exist
in the data model...)

--Simon
 _______________________________________________
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

References: 
 >CoreData - NSManagedObjectContext notifications - Save vs DidChange ? (From: Simon Liu <email@hidden>)
 >Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ? (From: Chris Hanson <email@hidden>)
 >Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ? (From: Simon Liu <email@hidden>)
 >Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: only defined for abstract class
  • Next by Date: Re: only defined for abstract class
  • Previous by thread: Re: CoreData - NSManagedObjectContext notifications - Save vs DidChange ?
  • Next by thread: Custom PopUpButton problems
  • Index(es):
    • Date
    • Thread