I believe that initWithEntityName is new in iOS 5.
On Jan 24, 2012, at 11:40 AM, Laurent Daudelin wrote:
> NSFetchRequest *fetchRequest = [[NSFetchRequest alloc]
> initWithEntityName:@"Relationship"];
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
Thanks, Dave, that did the trick! Maybe there could be an additional
initializer for NSFetchRequest like
initWithEntityName:inManagedObjectContext:...
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://www.nemesys-soft.com/
Logiciels Nemesys So
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDescription
entityForName:@"Relationship" inManagedObjectContext:context];
[fetchRequest setEntity:entity];
Dave
On Jan 24, 2012, at 11:40 AM, Laurent Daudelin wrote:
> Given the following
Given the following code:
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc]
initWithEntityName:@"Relationship"];
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K = %@",
@"parentObject.objectBaseUuid", wallUuid];
[fetchRequest setPredicate:predicate];