Theocacao
Leopard
Design Element
Comment on "Using Delayed Messages in Cocoa"
by Joo Sampaio — Aug 18
You can always force it to be fetched.. this solves my problem.

- (void) awakeFromNib { NSError *error; BOOL ok = [myArrayController fetchWithRequest:nil merge:NO error:&error]; if (ok) { NSLog(@"Items : %i",[[myArrayController arrangedObjects] count]); } else { NSLog(@"err.."); } }
Back to "Using Delayed Messages in Cocoa"
Design Element

Copyright © Scott Stevenson 2004-2015