• 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: matt neuburg <email@hidden>
  • Date: Wed, 20 Nov 2002 11:43:20 -0800

On Tue, 19 Nov 2002 17:37:52 -0800, "chris corbell"<email@hidden> 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@hidden, 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@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.

  • Prev by Date: Re: more on stable sorting...
  • Next by Date: Re: Drag and Drop it on my head...
  • Previous by thread: Re: NSView nib (as template)
  • Next by thread: Re: Mail.App SLoW...
  • Index(es):
    • Date
    • Thread