Refresh Fetched Properties with refreshObject:mergeChanges
Refresh Fetched Properties with refreshObject:mergeChanges
- Subject: Refresh Fetched Properties with refreshObject:mergeChanges
- From: malcom <email@hidden>
- Date: Thu, 18 Oct 2007 00:22:50 +0200
Hello,
I've used a fetched property to get the number of objects with a
particular state o a property (an propertyA as int == valuex). Well,
I've fetched the list and put it into an array for an NSTableView
using a retain (no auto bindings). When I click to and select an item
into the list I set propertyA of the managed object (nsmanagedobject
contain custom accessor method) and try to get the fetched property
again.
Unfortunatly the count of elements that respect my expression still
the previous. I've also tried to use refreshObject:mergeChanges: with
no success.
Can be a problem with multiple context objects used to fetch data
(that point to the same persistentstore). How can i solve?
_______________________________________________
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