iphone Programming Glossary: relationshipsbyname
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone NSManagedObject managedObject NSDictionary attributesByName managedObject entity attributesByName NSDictionary relationshipsByName managedObject entity relationshipsByName NSMutableDictionary valuesDictionary managedObject dictionaryWithValuesForKeys.. attributesByName managedObject entity attributesByName NSDictionary relationshipsByName managedObject entity relationshipsByName NSMutableDictionary valuesDictionary managedObject dictionaryWithValuesForKeys attributesByName allKeys mutableCopy valuesDictionary.. valuesDictionary setObject managedObject entity name forKey @ ManagedObjectName for NSString relationshipName in relationshipsByName allKeys NSRelationshipDescription description managedObject entity relationshipsByName objectForKey relationshipName if..
|