How to step inside NSManagedObject; access individual attributes.

Posted by user300972 on Stack Overflow See other posts from Stack Overflow or by user300972
Published on 2010-06-01T18:18:42Z Indexed on 2010/06/01 18:33 UTC
Read the original article Hit count: 112

Filed under:
|
NSManagedObject *entryObj = [self.fetchedResultsController
                         objectAtIndexPath:indexPath];

entryObj consists of four String attributes.

If I NSLog entryObj, I get the information I want. I cannot figure out how to access each of these properties individually. I read a similar post where the solution was to call "entity." I cannot figure out how to use "entity" to access a specific attribute.

Any ideas? References? Tutorials?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c