FROM : Adam Gerson
DATE : Mon Mar 03 03:36:59 2008
I am trying to programatically get some data from an array controller
when my program launches.
NSArray *allServers = [serverLibraryArrayController arrangedObjects];
This code works just fine with I invoke it with a button click.
However, if I put it in awakeFromNib or ApplicationDidFInishLaunching
it returns nil.
What method can I use so that this action is done automatically when
the program launches, but after core data has loaded data into the
array controller?
Thanks,
Adam
DATE : Mon Mar 03 03:36:59 2008
I am trying to programatically get some data from an array controller
when my program launches.
NSArray *allServers = [serverLibraryArrayController arrangedObjects];
This code works just fine with I invoke it with a button click.
However, if I put it in awakeFromNib or ApplicationDidFInishLaunching
it returns nil.
What method can I use so that this action is done automatically when
the program launches, but after core data has loaded data into the
array controller?
Thanks,
Adam
| Related mails | Author | Date |
|---|---|---|
| Adam Gerson | Mar 3, 03:36 | |
| mmalc crawford | Mar 3, 03:59 | |
| Adam Gerson | Mar 3, 06:43 | |
| Conor | Mar 3, 11:27 | |
| mmalc crawford | Mar 3, 17:30 | |
| Adam Gerson | Mar 4, 01:45 |






Cocoa mail archive

