I’m using a couple of panels in my application and I can;t figure out how to set initial (i.e. on display panel) value in text fields in the panels. If I try and do it in the on awake from nib handler it seems that the panel isn’t yet ready to receive the values. I can do it by waiting until I get in an idle block, but that’s ugly (the panel opens with uninitialized fields and waits for a second or two to get the data).
One specific use case is a preferences panel. I want to retrieve user defaults info and display this in the appropriate fields in the preferences panel when the panel opens.
Where/how in my code should I do this?
Thanks,
Maddog