• 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: Core Data - fresh data for text field not connected to array controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data - fresh data for text field not connected to array controller


  • Subject: Re: Core Data - fresh data for text field not connected to array controller
  • From: mmalc Crawford <email@hidden>
  • Date: Fri, 26 Dec 2008 22:29:33 -0800


On Dec 26, 2008, at 9:48 PM, Steve Steinitz wrote:

However, I have one entity that has only one record (for user preferences). I fetch the record fresh into its very own managedObjectContext for each access -- and even resetting the managedObjectContext. That direct binding, bypassing an arrayController, Never discovers database changes once the Preferences window is created.

(a) What did you bind to?
(b) Have you tested to ensure that the managed object is being updated?
- Did you use refreshObject:mergeChanges:?
- If so, is the context's staleness interval exceeded?
<http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObjectContext_Class/Reference/Reference.html#//apple_ref/occ/instm/NSManagedObjectContext/refreshObject:mergeChanges: >


mmalc
_______________________________________________

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


  • Follow-Ups:
    • Re: Core Data - fresh data for text field not connected to array controller
      • From: Steve Steinitz <email@hidden>
References: 
 >Core Data - fresh data for text field not connected to array controller (From: Steve Steinitz <email@hidden>)

  • Prev by Date: Core Data - fresh data for text field not connected to array controller
  • Next by Date: Re: Core Data - fresh data for text field not connected to array controller
  • Previous by thread: Core Data - fresh data for text field not connected to array controller
  • Next by thread: Re: Core Data - fresh data for text field not connected to array controller
  • Index(es):
    • Date
    • Thread