Core Data Epic Introduction
http://cocoadevcentral.com/articles/000086.php
Fetch data using one line:
[[self managedObjectContext] fetchObjectsForEntityName:@"Employee" withPredicate:
@"(lastName LIKE[c] 'Worsley') AND (salary > %@)", minimumSalary];
Via: http://cocoawithlove.com/2008/03/core-data-one-line-fetch.html
one to many relationship
http://lethain.com/one-to-many-relationships-in-coredata/
Fetch data using one line:
[[self managedObjectContext] fetchObjectsForEntityName:@"Employee" withPredicate:
@"(lastName LIKE[c] 'Worsley') AND (salary > %@)", minimumSalary];
Via: http://cocoawithlove.com/2008/03/core-data-one-line-fetch.html
one to many relationship
http://lethain.com/one-to-many-relationships-in-coredata/
Comments
Post a Comment