Creating a preference pane with XCode?
Creating a preference pane with XCode?
- Subject: Creating a preference pane with XCode?
- From: Arnaud Nicolet <email@hidden>
- Date: Fri, 23 Jan 2009 00:53:32 +0100
Hello,
I'm new to XCode and I need it to make a preference pane. I have
already done my core application using RealBasic (which can't be used
to create preferences panes, sadly).
I don't want to learn all XCode just to make my preference pane, and I
usually learn new things by experimenting. So, I have found this
tutorial <http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/Tasks/Sample.html#//apple_ref/doc/uid/20000710-BABFCABJ
> which "explains" what should be done (Ok, it's a bit outdated, but
I think I have done it right using XCode rather than Project Builder,
as said on these pages).
I have set up my nib file and put the bits of code in the correct
place. The code involved should write to a preferences file the state
of a checkbox (still following the tutorial), but it actually does not
(the nib file is properly shown in System Preferences). I guess the
"mainViewDidLoad" handler is not called.
Apparently, XCode does not allow to debug a preference pane (the menu
is grayed out). I guess it's because there is no "real application".
If I can't debug in real time, my next choice is to send messages to
the console (at least to know whether the "mainViewDidLoad" handler is
called or not), but I don't know the method name.
In fact, I have 3 questions:
What is the method name to send strings to the console? (I mean,
"Console.app")
Is it true debugging preference panes is not doable?
Is there a tutorial more recent than the one I found available?
Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden