• 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
IB Palettes, custom classes and the need for Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB Palettes, custom classes and the need for Frameworks


  • Subject: IB Palettes, custom classes and the need for Frameworks
  • From: Tim Lucas <email@hidden>
  • Date: Thu, 13 Jan 2005 11:53:27 +1100

I've made a custom IB Palette that contains a custom NSView subclass, say MySpecialView.

The palette works perfect using test mode in IB, but then if I save the NIB and go back to xcode and build+run then I get the 'MySpecialView class not found' error. To fix this I've created a framework, copied it to my frameworks directory and added it to the xcode project.

So, for users of my palette they need to add the palette in IB preferences, copy the framework to their frameworks directory and add the framework to their xcode project.

Its a bugger to add it to the xcode project when they're not even using it in their code.

Having to remember to add a framework to your project everytime you use a certain IB palette just seems wrong.

Is there a way to make this easier for the developers, or is this the only way?

- tim lucas

http://www.toolmantim.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: IB Palettes, custom classes and the need for Frameworks
      • From: Gregory John Casamento <email@hidden>
  • Prev by Date: Re: Question about an NSScanner loop
  • Next by Date: Edit cell after adding to TableView
  • Previous by thread: Re: NSTextView Line Number
  • Next by thread: Re: IB Palettes, custom classes and the need for Frameworks
  • Index(es):
    • Date
    • Thread