• 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
Refresh Fetched Properties with refreshObject:mergeChanges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Fwd: inappropriate tool palette activation problem
  • Next by Date: Resizing NSWindows and NSViews with NSViewAnimation
  • Previous by thread: Re: revisiting NSTableView 'on drag' row highlighting
  • Next by thread: Resizing NSWindows and NSViews with NSViewAnimation
  • Index(es):
    • Date
    • Thread