Do Cocoa NSSortDescriptors refer to model or controller?
1 answer
NSSortDescriptor ... subclasses?
Modelsshould know how to sort yourself.
Sorting is a problem with presentation to the user, making it more of a viewport and controller scope; models should generally avoid such things.
In Cocoa, you instantiate an NSSortDescriptor and store those descriptors in an array so you can use whatever you want to sort with. I can't think of a reason for subclassing NSSortDescriptor.
+3
a source to share