Best way to implement filtering in large Data Set
Best way to implement filtering in large Data Set
- Subject: Best way to implement filtering in large Data Set
- From: Micha Fuhrmann <email@hidden>
- Date: Sat, 14 Apr 2007 11:43:16 +0200
Hi there,
I would need help at a higher architecture level, the subject being
how to best implement a table view filtering with a large data set.
The best example existing I can think of is iTunes.
The main table (Unfiltered) would contain all the songs in the
dataset. Behind would be an Array contain "Songs" Object which would
contain all the Songs specifics (Artist, Album etc).
On the side would be 2 other tables contain all the Artist and all
the Genres.
Now what would be the best way to implement both
"objectValueForTableColumn" and "numberOfRowsInTableView" as the
filtering starts.
For the moment all I could come up with is to create a "Sub Array"
derived from the Main Array with loops using the constrains.
There must be a better way to do this then looping around.
Any help would be greatly appreciated.
Micha
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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