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: Ben Ku <email@hidden>
- Date: Fri, 2 Feb 2007 12:20:36 -0500
Thank you!
That was exactly what I was looking for! You're a genius!
How would I have found out about this if it wasn't for you?
I couldn't even find it in my reference API and only found the
definition through a google search.
- Ben
--
Ben Ku
Hannon Hill
email@hidden
p. 678-904-6900
f. 678-904-6901
http://www.hannonhill.com
On Feb 2, 2007, at 12:05 PM, I. Savant wrote:
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