Ah, that seems perfect (haven't tried it yet), but it claims to do what I want.
Thanks.
On 28/12/2009, at 17:51 , Rob Keniger wrote:
> On 28/12/2009, at 2:52 PM, Brian Bruinewoud wrote:
>> But I'm looking for something more like this:
>>
>> CDClass *cdObject = [ CDClass insertNewObjectInManage
On 28/12/2009, at 2:52 PM, Brian Bruinewoud wrote:
> But I'm looking for something more like this:
>
>CDClass *cdObject = [ CDClass insertNewObjectInManagedObjectContext:
> context ];
>
> Is there any such method or do I need to add them to the generated class
> files myself?
If you use m
On Dec 27, 2009, at 9:07 pm, Jim Correia wrote:
> On Dec 27, 2009, at 11:52 PM, Brian Bruinewoud wrote:
>> If I've generated core data classes from my model, how do I use them to
>> create new values?
>> Currently I'm doing this:
>> CDClass *cdObject = (CDClass *)[ NSEntityDescription
>> inser
On Dec 27, 2009, at 11:52 PM, Brian Bruinewoud wrote:
> If I've generated core data classes from my model, how do I use them to
> create new values?
> Currently I'm doing this:
>
>CDClass *cdObject = (CDClass *)[ NSEntityDescription
> insertNewObjectForEntityForName: @"CDClass" inManagedObj
If I've generated core data classes from my model, how do I use them to create
new values?
Currently I'm doing this:
CDClass *cdObject = (CDClass *)[ NSEntityDescription
insertNewObjectForEntityForName: @"CDClass" inManagedObjectContext: context ];
But I'm looking for something more like th