I have an application with an NSArray of NSDictionary (with 18 keys) which
populates an NSTableView.  I am concerned that my method of accessing the
contents of my array are sub-optimal and I'm therefore seeking advice from
the experts.

My current method is to iterate through the array, searching for a match for
a particular key.  I suspect that there may be a faster way - but I cannot
find a tutorial (especially since all the example code seems to have gone
AWOL in Snow Leopard).

This has come to a particular head because I need to implement an
NSSearchField and I would like to be able to search for any instance of a
string in any key of any array entry.

At this stage I would rather not use Core Data (even if this is the most
optimal method) because I don't yet have a manual for it.

Help!  And thanks, in advance.
_______________________________________________

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