IB Palettes, custom classes and the need for Frameworks
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