I've come across several guides and documentation that say the fetched properties can be used to mimic smart playlists in iTunes, but I've yet to see any example or explanation on how that can actually be implemented. I understand that a fetched property is basically a stored fetch request, but from my experimentation, I've only seen how to define the predicate at compile time (in the fetch request editor) and not at runtime. I want the user to be able to create as many smart folders as he wishes, each with a different predicate. That's why I had created an "AbstractSmartFolder" with a string "predicate" property. I couldn't figure out how to use fetched properties.

Perhaps I'm misunderstanding how they work?

Thanks,

Dave

On Nov 8, 2009, at 5:11 AM, Jerry Krinock wrote:

Maybe you want a "fetched property". See near bottom of this document:

http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/CoreData/Articles/cdRelationships.html#//apple_ref/doc/uid/TP40001857

Test performance early and often, though, because often in Core Data, "fetch" == "slow".

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to