Refresh Fetched Properties with refreshObject:mergeChanges

  • 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?
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today