Skip navigation.
 
mlRe: NSView nib (as template)
FROM : matt neuburg
DATE : Wed Nov 20 20:43:20 2002

On Tue, 19 Nov 2002 17:37:52 -0800, "chris corbell"<<email_removed>> 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_removed>, 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSView nib (as template) chris Nov 20, 02:37
mlRe: NSView nib (as template) Ondra Cada Nov 20, 14:27
mlRe: NSView nib (as template) matt neuburg Nov 20, 20:43
mlRe: NSView nib (as template) Henri Lamiraux Nov 25, 02:14