Theocacao
Leopard
Design Element
Comment on "NSTreeController and Drag and Drop"
by Sam Stigler — May 08
Never mind; I just solved my problem. Here's the method I wrote for my subclass to do the same thing as [value valueForKey:@"observedObject"]

-(NSManagedObject *)observedObject { NSManagedObjectID *objID = [self objectID]; NSManagedObjectContext *moc = [self managedObjectContext]; id tmpObject = [moc objectWithID:objID]; return tmpObject; }
Back to "NSTreeController and Drag and Drop"
Design Element

Copyright © Scott Stevenson 2004-2015