Re: Custom controls in Interface Builder?
Re: Custom controls in Interface Builder?
- Subject: Re: Custom controls in Interface Builder?
- From: Stephane Sudre <email@hidden>
- Date: Fri, 18 Nov 2005 16:15:25 +0100
1. Drag and drop the header file in your IB nib window.
2. Add a NSImageView or a CustomView in your window
3. Select the view
4. Select CustomClass in the Inspector window
5. Choose the new class for the view.
On 18 Nov 2005, at 15:42, Shon wrote:
While studying drag and drop, I found that the CocoaDragAndDrop
project uses a custom class (DragDropImageView : NSImageView) on the
window in Interface Builder. How do I put my own custom controls on a
window using IB? Just a pointer to documentation would be helpful...
The aforementioned project is at
http://developer.apple.com/samplecode/CocoaDragAndDrop/
CocoaDragAndDrop.dmg
Thanks in advance
_______________________________________________
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