Friday, 15 February 2013

ios - NSFetchedController and sections -


I have a parent unit

I want to classify an NSFetchedResultsController with the entity (stream) 0 male will, section 1 will be women).

Can I classify them by class ( man class versus female category ) or I need to add a feature telling this Is that its male or female and section that?

self.entity.name will return the entity name as one NSString . So you can use it. I do not think the internal details (name of an entity) is a good idea to run the UI. This is easy to declare a feature for the section, and then you have full control over the name (including localization).

No comments:

Post a Comment