Hi,

I'm working on an autocompletion system such as with mail To: Cc: fields etc. I have an array of dictionaries and I want the autocomplete to match to the key "description"
This code below works great for an array of strings:

NSArray *matchingNames = [namesArray filteredArrayUsingPredicate: [NSPredicate predicateWithFormat:@"SELF beginswith[cd] %@", substring]];

But how do I get the above code to match to a specific key from a dictionary?

Regards,
Jason Wiggins
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to