NSArray from NSSet – Do I have to sort it myself?
You can specify a sort when you retrieve data with an NSFetchRequest by setting the sortDescriptors property to an array of NSSortDescriptors. But if you already have it in an NSSet and don’t want to make another fetch request, you can use: [[theSet allObjects] sortedArrayUsingDescriptors:sortDescriptors]; It’ll create an interim NSArray when you call allObjects and … Read more