Re: Best implementation for iTunes-like playlist structure?
Re: Best implementation for iTunes-like playlist structure?
- Subject: Re: Best implementation for iTunes-like playlist structure?
- From: Dave DeLong <email@hidden>
- Date: Sun, 08 Nov 2009 14:10:35 -0700
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 (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