On 2012 Oct 15, at 03:45, Koen van der Drift <koenvanderdr...@gmail.com> wrote:
> So I cannot directly filter an array of dictionaries using a predicate? That > was the whole goal of my question, see my original post. Oh, now I see. I'd assumed that 'persons' was an array. It's a dictionary! But that should still work. According to the Predicate Programming Guide, "The collection may be an array, a set, or a dictionary – in the case of a dictionary, its values are used." But, again, I don't trust those things. Especially when they don't work :)) Try replacing persons with [persons allValues] in your format string. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com