> NSManagedObject *hostObj = [NSEntityDescription
> insertNewObjectForEntityForName:@"Host" inManagedObjectContext:[[NSApp
> delegate] managedObjectContext]];
>
Ahhh... there's what I was missing: the [NSApp delegate] part of
declaring a new entity. I'm not at my Mac right now, but I'll give
tha
Jon,
First off, unless you're doing something special you don't need to
create custom classes for each entity. If your managed object really
is just slinging strings, leave the class as NSManagedObject and
create a new entity with:
NSManagedObject *hostObj = [NSEntityDescription
insertNewObjectF