I want to show a formatted date in the section header of a table view..
I used the following code.but its throwing an exception *** Terminating app due to unca
The title of your question indicates that "dateSectionIdentifier" is a transient property.
You cannot use a transient property in a sort descriptor (or in a predicate) of a Core Data fetch request if SQLite is used as store type. That is a documented restriction, only persistent properties can be used.
See Persistent Store Types and Behaviors in the "Core Data Programming Guide" for more information.
I think you would have added "dateSectionIdentifier" in the subclass, but not updated in the .xcdatamodelId file. Cross check to see whether you have added "dateSectionIdentifier" in .xcdatamodelId file or not.