I am creating a UITableView with some aggregated data. Along the way, section headers should be used to sort and group table cells.
The problem is that I would like to use the Transient Property in NSFetchRequest to generate section headers and sort results. The problem is that when setting up NSFetchRequest I get "NSInvalidArgumentException", the reason is: "Invalid player.fullName keyword passed to setPropertiesToFetch".
The main NSFetchRequest object is a Player object with the properties: firstName and lastName. To sort and group data, the passient "fullName" property was introduced. This is a simple concatenation of the lastName and firstName properties.
So far, the following things have existed:
a) FullName method definition - (NSString *)
b) Definition of @property (non-atomic, read-only) NSString * fullName
c) Adding @dynamic fullName
d) Adding the fullName attribute to the Player object and transition to it.
Are there any ideas or are there right now to select transient properties in NSFetchRequest, which includes a group by clause.
Any help was appreciated.
source share