• 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: Loading a .nib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a .nib?


  • Subject: Re: Loading a .nib?
  • From: Graham Cox <email@hidden>
  • Date: Sat, 3 May 2008 10:37:23 +1000

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Loading a .nib?
      • From: Chris Hanson <email@hidden>
References: 
 >Loading a .nib? (From: "J. Todd Slack" <email@hidden>)

  • Prev by Date: Implementing fast enumeration
  • Next by Date: Re: Loading a .nib?
  • Previous by thread: Re: Loading a .nib?
  • Next by thread: Re: Loading a .nib?
  • Index(es):
    • Date
    • Thread