Re: NSView nib (as template)
Re: NSView nib (as template)
- Subject: Re: NSView nib (as template)
- From: matt neuburg <email@hidden>
- Date: Wed, 20 Nov 2002 11:43:20 -0800
On Tue, 19 Nov 2002 17:37:52 -0800, "chris corbell"<email@hidden> said:
>
Is it possible to have a nib file that simply
>
contains an NSView (or subclass) resource,
>
and load this as a template for objects
>
created at runtime and added to windows?
Certainly. Create an empty nib file. Drag a CustomView into it. The CustomView will then open like a window; populate that window with buttons and suchlike. Connect the File's Owner to the CustomView and you're done. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.