FROM : Uli Kusterer
DATE : Sat Nov 24 11:25:45 2007
Am 23.11.2007 um 18:16 schrieb Ricky Sharp:
> Drag in a custom view which will serve as your background view. IB
> knows that custom views are contain views and thus you can put
> anything you want inside. Subclass NSView and specify that class
> for your custom view. It's drawRect: will draw whatever image you
> want.
IIRC you can actually put subviews in an NSImageView, IB just
doesn't let you. Try setting the custom view's class to NSImageView
and set it up in code.
And in any way, file a bug with Apple. The image view *should*
really allow subviews.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
DATE : Sat Nov 24 11:25:45 2007
Am 23.11.2007 um 18:16 schrieb Ricky Sharp:
> Drag in a custom view which will serve as your background view. IB
> knows that custom views are contain views and thus you can put
> anything you want inside. Subclass NSView and specify that class
> for your custom view. It's drawRect: will draw whatever image you
> want.
IIRC you can actually put subviews in an NSImageView, IB just
doesn't let you. Try setting the custom view's class to NSImageView
and set it up in code.
And in any way, file a bug with Apple. The image view *should*
really allow subviews.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
| Related mails | Author | Date |
|---|---|---|
| David Alger | Nov 23, 04:49 | |
| Ricky Sharp | Nov 23, 05:02 | |
| Jon Hess | Nov 23, 08:09 | |
| Scott Anguish | Nov 23, 09:06 | |
| David Alger | Nov 23, 14:22 | |
| Ricky Sharp | Nov 23, 14:27 | |
| Alastair Houghton | Nov 23, 17:01 | |
| David Alger | Nov 23, 18:03 | |
| Ricky Sharp | Nov 23, 18:16 | |
| Alastair Houghton | Nov 23, 18:16 | |
| Jean-Daniel Dupas | Nov 23, 18:16 | |
| David Alger | Nov 23, 18:40 | |
| Jon Hess | Nov 24, 06:06 | |
| Scott Anguish | Nov 24, 08:40 | |
| Uli Kusterer | Nov 24, 11:25 | |
| Uli Kusterer | Nov 24, 11:29 | |
| Scott Anguish | Nov 24, 23:47 | |
| Uli Kusterer | Nov 26, 09:57 |






Cocoa mail archive

