Off the top of my head
@@media =
NSEntityDescription
.insertNewObjectForEntityForName_inManagedObjectContext("Media",context)
HTH
Tim
On 18 Nov 2007, at 15:48, Alistair Holt wrote:
> NSManagedObject *media = [NSEntityDescription
> insertNewObjectForEntityForName:@"Media"
> inManagedObjectContext:context];
>
|