iTunes is a Carbon app, so there is no Cocoa runtime available. You
can use a nib, but it has to be a Carbon one, so the functions you
need to look at are in the HIView family of Carbon functions.
There may be a way to set up a Cocoa runtime in an iTunes plugin but
I'm not sure about that.
If you can use C++ you can at least get some object-oriented goodness
(not as good as Obj-C though). Some years ago I wrote an iTunes plugin
and created a little mini-framework in C++ to ease the process. It
also uses (Carbon) nibs to display its options dialog. You might find
it useful (source code and binary available):
http://apptree.net/ledsa.htm
hth,
G.
On 3 May 2008, at 8:29 am, J. Todd Slack wrote:
So I am creating an iTunes PLugin, can anyone show me how to
load ..nib
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]