Re: Execute Function when loading a Preference Pane
Re: Execute Function when loading a Preference Pane
- Subject: Re: Execute Function when loading a Preference Pane
- From: "I. Savant" <email@hidden>
- Date: Fri, 2 Feb 2007 12:05:07 -0500
How about -awakeFromNib? This isn't specific to preference panes.
--
I.S.
On Feb 2, 2007, at 9:37 AM, Ben Ku wrote:
I'm trying to get code to execute when a preference pane is
loaded. I tried overriding the init function, but evidently the
NIB hooks don't exist at that point. Is there something I can trap
for when the interface is finished being built but before the user
sees anything? I want to update the state of the preference pane
so that it accurately displays the state.
Sorry, I know I'm a bit of a newbie at this, and this is probably
something really easy, but I haven't found a whole lot of examples
that deal with the PreferencePane environment as opposed to a stand-
alone app.
Thanks!
- Ben
--
Ben Ku
Hannon Hill
email@hidden
p. 678-904-6900
f. 678-904-6901
http://www.hannonhill.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden