• 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: Predicate Builder & Fetched Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Predicate Builder & Fetched Properties


  • Subject: Re: Predicate Builder & Fetched Properties
  • From: Charilaos Skiadas <email@hidden>
  • Date: Tue, 5 Jul 2005 14:48:01 -0500

On Jul 5, 2005, at 1:57 PM, mmalcolm crawford wrote:

Note, though, that a fetched property has at least one distinct limitation as a "smart list" -- it's not dynamic. After the property is fetched, it's cached:

<http://developer.apple.com/documentation/Cocoa/Reference/ CoreData_ObjC/Classes/NSFetchedPropertyDesc.html>

If the values on which the result change (in this case, whether the birthYear is changed because someone made a mistake, or you add or remove People -- should be "Person"?), this is not reflected in the fetched property unless you refresh the source object.

So there is no way to get the refreshing to be done automagically when a new People/Person is added/removed, or when the birthYear is changed?
I have to admit, I would expect there would be an option one could set, as to whether the property would be cached or not.
mmalc


Haris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Predicate Builder & Fetched Properties
      • From: mmalcolm crawford <email@hidden>
References: 
 >Predicate Builder & Fetched Properties (From: Jeff LaMarche <email@hidden>)
 >Re: Predicate Builder & Fetched Properties (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Reading & writing Exif data with Cocoa
  • Next by Date: Re: Predicate Builder & Fetched Properties
  • Previous by thread: Re: Predicate Builder & Fetched Properties
  • Next by thread: Re: Predicate Builder & Fetched Properties
  • Index(es):
    • Date
    • Thread