• 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
CoreData: updating property of fetched object and refetching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: updating property of fetched object and refetching


  • Subject: CoreData: updating property of fetched object and refetching
  • From: olivier destrebecq <email@hidden>
  • Date: Tue, 20 Apr 2010 08:45:10 -0700

I create an object and insert it into the context, then i update a couple
properties.

Later I i do a fetch request with a predicate on the property i updated
after the insertion. If i do this fetch right after the update of the
property (using the accessors provided by coreData), then the fetch does not
find the object I created. If i wait longer then it finds it.

Is there a way to "commit" the change so that the fetch will find the object
without saving. I don't want to save every time i update a property.

Thank you
Olivier
_______________________________________________

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: CoreData: updating property of fetched object and refetching
      • From: Joanna Carter <email@hidden>
  • Prev by Date: Re: where is the basic NSString literal escape documentation?
  • Next by Date: Re: CoreData: updating property of fetched object and refetching
  • Previous by thread: Re: NSURLConnection Crashes : Mac OS 10.6.3 Edition! (Was: Async NSURLConnection...)
  • Next by thread: Re: CoreData: updating property of fetched object and refetching
  • Index(es):
    • Date
    • Thread