• 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: Custom controls in Interface Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Custom controls in Interface Builder? (From: Shon <email@hidden>)

  • Prev by Date: Parsing cString - Silly question
  • Next by Date: Re: Tiger-style toolbars
  • Previous by thread: Custom controls in Interface Builder?
  • Next by thread: How to make sure that end of string is visible in NSTextField
  • Index(es):
    • Date
    • Thread