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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to