ios - NSManagedObjectController (like a NSFetchRequestController for single NSManagedObject) -


nsmanagedobjectcontroller doesn't seem exist, maybe called else... nsfetchrequestcontroller fetches multiple nsmanagedobjects , lists them in uitableview. there existing class show attributes of nsmanagedobject , list them in uitableview of style == uitableviewstylegrouped. maybe using localized property names in nsmanagedobjectmodel section header names, , values of properties single row of section? magical thing @ data-types of attributes of nsmanagedobject add uitextfield cell rows of data-types nsstring, nsnumber, etc, , uidatepicker cell rows of data-type nsdate, , ...

is there existing class show attributes of nsmanagedobject , list them in uitableview of style == uitableviewstylegrouped

no, cocoa touch doesn't provide class matches description. doesn't sound difficult write, value seems questionable. can see use exploring data model during development, user interface describe seems unlikely useful in production app, 1 wouldn't want interface elements labels tied model property names , properties might not meant display @ all.

however, if need such beast, won't hard build. use nsentitydescription property names. example, can use attributesbyname dictionary of attribute names , descriptions.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -