Skip navigation.
 
mlRe: NSView nib (as template)
FROM : Ondra Cada
DATE : Wed Nov 20 14:27:38 2002

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_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc
_______________________________________________
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