• 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: Bindings / Core Data: Ensuring a value is unique
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings / Core Data: Ensuring a value is unique


  • Subject: Re: Bindings / Core Data: Ensuring a value is unique
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 14 Sep 2006 11:52:03 -0400


You'll have to define "shadow copy".

I'm not sure if this is what you're seeing, but objects are not immediately removed from the store when you delete them from a context. Rather, they are marked as "deleted" and removed when the store is saved. The Core Data Programming Guide explains this in detail.

http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/ index.html

--
I.S.


On Sep 14, 2006, at 11:47 AM, Chris Blunt wrote:

I've got some strange behaviours appearing in my controllers now as well - deleted records seem to leave a 'shadow' copy of the record, despite multiple calls to [NSManagedObjectContext processPendingChanges] and [NSArrayController prepareContent].

_______________________________________________ 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: Bindings / Core Data: Ensuring a value is unique
      • From: Chris Blunt <email@hidden>
References: 
 >Bindings / Core Data: Ensuring a value is unique (From: Chris Blunt <email@hidden>)
 >Re: Bindings / Core Data: Ensuring a value is unique (From: "I. Savant" <email@hidden>)
 >Re: Bindings / Core Data: Ensuring a value is unique (From: Chris Blunt <email@hidden>)

  • Prev by Date: Re: POSTing into a server from COCOA
  • Next by Date: Re: NSTextField not updating NSUserDefaults using bindings
  • Previous by thread: Re: Bindings / Core Data: Ensuring a value is unique
  • Next by thread: Re: Bindings / Core Data: Ensuring a value is unique
  • Index(es):
    • Date
    • Thread