I am currently working with an NSPreferencePane and am having trouble setting the title of the Window once the PreferencePane nib file has been set. Any help with this would be greatly appreciated ?
I have tried accessing the window from the mainView, however, this is null. I have also attempted to set an IBOutlet connecting to the NSWindow from inside its nib file. From reading through the NSPreferencePane documentation the property _window is set to be private and I am unsure how I can access this so as I can change its value.
Thanks, Michael
The preference pane's title comes from the bundle name. Change this in the preference pane's Info.plist to whatever you want the title to be. It will probably be set to ${PRODUCT_NAME} by default.
Make sure you do a clean before building and trying this, otherwise the old name will stick around.