Core Data sort tableview by formatted date
问题 I know how to sort Core Data objects in a tableview by NsDate, but this by default seems to create a new section for each object. I want to sort them by a medium formatted date with NSDateFormatter. How would I do this? For example, if I have 3 objects created on the same day, I want them to be in the same section with the section title being that Day, no time needed. Each object has an NSDate property. Thanks for your help. This is the code I have in fetchedResultsController with rgeorge's