Skip navigation.
 
mlNSView nib (as template)
FROM : chris
DATE : Wed Nov 20 02:37:52 2002

I found questions similar to this in the list
archive but did not find the answer...

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?
I do not want the nib-view to represent a
single instance, nor even a single-instance
per-window (the view in question represents
a set of controls pertaining to a "channel",
and the number of channels varies from
document to document).

I guess what I'm after is something similar
to the PowerPlant LView resource functionality,
where you can load a view resource with all of its
subviews, controls, etc., instantiate an
object, and then put that object wheverer you
want it (in a dialog, window, etc.).

I'm experimenting without success so far,
but is there someplace where this type of
use of Cocoa nib files is documented?

TIA,
Chris Corbell
_______________________________________________
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