• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView nib (as template)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: NSView nib (as template)
      • From: Henri Lamiraux <email@hidden>
  • Prev by Date: Re: Exclusive File Access
  • Next by Date: Solved: widgets don't work properly in a bordrless window?!?
  • Previous by thread: NSView nib (as template)
  • Next by thread: Re: NSView nib (as template)
  • Index(es):
    • Date
    • Thread