Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

paul.b.davis

macrumors 6502
Original poster
Oct 24, 2007
370
0
Over the hills and far away...
I am working on an app that managed recipes for electronic cigarette fluid (not really important, but hey...) and I have a question about how to get some info from the array controller handling the recipes

Each recipe is a managed object, and I want to populate two sets that contains the brand info and flavor of each ingredient for use in a combo box.

The problem is, when I try to get the arranged objects of the array controller (via an App Controller object I have set up with the array controller as an IBOutlet) in the init (and I tried awakeFromNib) method, the array controller does not return anything for the arrangedObjects method. It returns NULL if I try it in init and an empty array if I try it in the awakeFromNib method.

When is the array controller populated? How can I get this info?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.