Re: NSView nib (as template)
Re: NSView nib (as template)
- Subject: Re: NSView nib (as template)
- From: Ondra Cada <email@hidden>
- Date: Wed, 20 Nov 2002 14:27:38 +0100
On Wednesday, Nov 20, 2002, at 02:37 Europe/Prague, chris corbell wrote:
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?
Sure. This began to be supported a year or two ago -- so far as IB
goes, a comparatively new feature (before that, you had to use a dummy
window to be released after loading). Just drag&drop a Custm View into
the NIB window (of an empty NIB).
Yes, there seems to be no reason why this should not be allowed for any
other view, too. And no, IB does not support that -- dunno why. You
might consider filling a feature request here ;)
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.