Re: Newbie. Creating SubViews that aren't associated with NSWindow, or NSPanel?
Re: Newbie. Creating SubViews that aren't associated with NSWindow, or NSPanel?
- Subject: Re: Newbie. Creating SubViews that aren't associated with NSWindow, or NSPanel?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 10 Dec 2008 13:58:26 -0700
On Dec 10, 2008, at 1:50 PM, aaron smith wrote:
How do I go about create views separately, and attaching them to the
NSWindow, based on the toolbar buttons.
Create them programmatically using -initWithFrame:, do any setup work
you have to do, then add them as either the content view of a window,
or a subview of the content view.
Either that, or archive them in a nib, load the nib, and then attach
them to the window or window's content view. Do whichever is easiest
for you.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden