Hi all, The "Troubleshooting Core Data" document discusses the FAQ "SQLite store does not work with sorting". It suggests: "you may need to subclass NSArrayController so you can have it not pass the sort descriptors to the database and instead do the sorting after your data has been fetched". [1]
I imagine this must have been done many times over by many people. Try as I may, I cannot find any example code, or even a more detailed discussion of what to override. I fear there may be edge cases overriding such an important class, so want to be careful. My ultimate goal is for all table and outline views in my app to sort "correctly" (ie like the Finder[2]). What is the correct way to achieve this? [1] <http://developer.apple.com/mac/library/documentation/Cocoa/ Conceptual/CoreData/Articles/cdTroubleshooting.html> [2] <http://developer.apple.com/mac/library/documentation/Cocoa/ Conceptual/Strings/Articles/SearchingStrings.html> Thanks, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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