I have an NSArray of strings and I want to add a certain amount of rows to the outline view depending on how many strings are in the array, each with the title of the String that was added.
I think it would involve looping through the array like this.
for(NSString *title in array) {
JGManagedObject *theParent =
[NSEntityDescription insertNewObjectForEntityForName:@"projects"
inManagedObjectContext:managedObjectContext];
[theParent setValue:nil forKey:@"parent"];
[theParent setValue:@"Project" forKey:@"name"];
[theParent setValue:[NSNumber numberWithInt:0] forKey:@"position"];
}