• 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: Programmatically add NSViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically add NSViews


  • Subject: Re: Programmatically add NSViews
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 29 Jan 2002 12:58:11 -0800

On Tuesday, January 29, 2002, at 09:08 AM, David J. Stys wrote:

Adding an NSView to a window is simple in IB. How does one go about adding NSViews (and other widgets) programmatically? ie-using code, and not IB. Is there any documentation on this?

It's all in the NSView documentation. see -addSubview:

-jcr


John C. Randolph <email@hidden> (408) 974-8819
Sr. Software Engineer, Cocoa Evangelism
Apple Worldwide Developer Relations


References: 
 >Programmatically add NSViews (From: "David J. Stys" <email@hidden>)

  • Prev by Date: Re: How ATTRACTIVE is CoCoa development?
  • Next by Date: status bar
  • Previous by thread: Programmatically add NSViews
  • Next by thread: view rotation and autoresizing of subviews
  • Index(es):
    • Date
    • Thread