• 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: nibs, subclassing nsview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nibs, subclassing nsview


  • Subject: Re: nibs, subclassing nsview
  • From: Dimitri Bouniol <email@hidden>
  • Date: Wed, 23 Aug 2006 20:48:51 -0700

The NSView that is in the Instance Tab of Interface builder is a seperate instance than the one in the window. It's basically a view without a superview. If you want the buttons and other widgets to show up in the window, you need to drag the widgets into the NSView that is in your window. To do this, just double click the custom view, and drag away!

On Aug 23, 2006, at 7:10 PM, Jim Mooney wrote:

I have split view and one window contains a instantiated Custom View. When I double click the instantiated NSView icon in the Instance View of Interface Builder, a view opens up and I can add buttons, fields ect.

When I build and run the app, the items in the instantiated NSView (called thePeopleFormView) ie the buttons and such, do not render in the view in the application. When I add some lines of drawing code in the thePeopleFormView class for the view, the drawing takes place. So it is not as if the Nib building "frozen archived" class is not in the split pane(NSView), but rather anything put in the view from Interface Builder is completely neglected when the view is set up and rendered upon start of the app.

-- The world's biggest Apple fan, Dimitri Bouniol email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >nibs, subclassing nsview (From: Jim Mooney <email@hidden>)

  • Prev by Date: Re: nibs, subclassing nsview
  • Next by Date: nibs,subclassing, nsviews
  • Previous by thread: Re: nibs, subclassing nsview
  • Next by thread: Re: nibs, subclassing nsview
  • Index(es):
    • Date
    • Thread