NSTableView sorting using NSSortDescriptor's
NSTableView sorting using NSSortDescriptor's
- Subject: NSTableView sorting using NSSortDescriptor's
- From: Gabriele de Simone <email@hidden>
- Date: Fri, 16 Jan 2004 14:49:27 -0500
Would anyone be so kind to let me know if there are any examples out
there on how to implement automatic sorting in NSTableView via the new
NSSortDescriptor class?
I *did* find the new Apple documentation on NSSortDescriptors, a few
one sentence descriptions of what that means for NSTableView, and only
one other post that was too hard to understand for a newbie. For
instance, what should one select for the "Sort Key" in IB? How is that
Sort Key used, and by who? What code must be added where to take care
of the sorting?
NSSortDescriptor's class documentation gives a (pretty lame) example of
using NSSortDescriptor to sort an array of dictionaries: how does that
translate to a NSTableView's dataSource?
On a side note, is it necessary to use the "Bindings" palette in IB to
modify parameters for the table view, and where can one find the
layman's explanation of what that "Bindings" panel should be used for?
Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.