• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Execute Function when loading a Preference Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Execute Function when loading a Preference Pane
      • From: Ben Ku <email@hidden>
References: 
 >Execute Function when loading a Preference Pane (From: Ben Ku <email@hidden>)

  • Prev by Date: Re: Spreadsheet functions in NSTableview
  • Next by Date: Re: Execute Function when loading a Preference Pane
  • Previous by thread: Execute Function when loading a Preference Pane
  • Next by thread: Re: Execute Function when loading a Preference Pane
  • Index(es):
    • Date
    • Thread