Re: IB3: adding an NSDrawer to an existing window
Re: IB3: adding an NSDrawer to an existing window
- Subject: Re: IB3: adding an NSDrawer to an existing window
- From: Andrew Ebling <email@hidden>
- Date: Sun, 18 Nov 2007 16:11:17 +0000
Hi Jim,
Thanks for your help. Eventually I got this to work by doing as you
suggested, but I found that I had to cut and paste the content from
the CustomView I had already created to hold the drawer's contents
into the CustomView created by dragging the Drawer combo out of the
palette. If I set my existing CustomView as the ContentView for the
Drawer object, the drawer would open blank.
I guess there must be something "special" about the CustomView created
by the drawer combo, but I can't figure out what it is. Can anyone
enlighten me on this? I'm learning Cocoa at the moment and I hate
having that nagging feeling that I haven't quite grasped how something
works properly!
For anyone else who is hunting around for how to set whether the
drawer opens on the left/right/top/bottom in Interface Builder, you
need to select the Drawer object and open the first attributes pane,
then you can choose in a drop down box. I spent a while trying to set
this programmatically without any luck.
Thanks again for your help.
Andrew
On 18 Nov 2007, at 10:21, Jim Graham wrote:
Hi Andrew
I solved this by adding a window and drawer, deleting the new
window right clicking on the drawer and setting my original window
as the parent of the dra
Jim Graham
On 18 Nov 2007, at 07:55, Andrew Ebling wrote:
Does anyone know how to add an NSDrawer to an existing window in
Interface Builder 3?
Previously, I'm sure there used to be a drawer item in the
palette, but now there only seems to be a combined Window/
Controller/Drawer object, which seems of little use if you want to
add a drawer to an existing window.
Or do I create a normal window, lay it out and then somehow make
it a drawer that belongs to an existing window?
Any help on this would be greatly appreciated.
best regards,
Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden