• 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
NIBs combining NSTabView and NSDrawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NIBs combining NSTabView and NSDrawer


  • Subject: NIBs combining NSTabView and NSDrawer
  • From: Joseph Ayers <email@hidden>
  • Date: Thu, 07 Nov 2013 11:46:24 -0500

I’m working on a program that does digital signal processing on the audio tracks of a Quicktime Movie.

I have a NSWindow that has a NSTabView. The window has some drawers that open when one of the tabs is clicked on. One of the tabs draws a digital oscilloscope, another draws graphs and a third some DSP graphics The drawers contain  NSView's with text boxes for parameters of the graphics and checkboxes for graphic features.

As each view has a NSViewController, I’m having troubles finding examples of how I construct an appropriate nib. For example. The graphics view has several boolean flags and scalars that control aspects of the graphs and these properties are associated with the graphics NSView. The corresponding drawer has check boxes for the booleans and text boxes for the scalars and has it’s own NSView and NSViewController. When I hook up these outlets for the NSViewController so their targets are the properties in the NSView, they don’t work.

My fundamental conundrum is that the NSViews for the graphics are associated with NSTabViewItems and these do not appear to be supported in Xcode 5 interface builder. If I tell a generic object that it’s a NSTabViewItem it does not expose a view outlet. Moreover, how one associates a NSVIewController with a NSTabViewItem is a bit confounding.

Can someone point me to some sample code or documentation that deals with these issues?

Thanks,
Joseph Ayers

Joseph Ayers, Professor
Departments of Marine and Environmental Science, Biology,
Civil and Environmental & Electrical and Computer Engineering
 and Marine Science Center
Northeastern University
East Point, Nahant, MA 01908
Phone (781) 581-7370 x309(office), x335(lab)
Boston: 13 Holmes Hall (617) 373-4714
Cellular (617) 755-7523, FAX: (781) 581-6076
eMail: email@hidden
http://www.neurotechnology.neu.edu/
http://robobees.seas.harvard.edu/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NIBs combining NSTabView and NSDrawer
      • From: Quincey Morris <email@hidden>
    • Re: NIBs combining NSTabView and NSDrawer
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: URLByResolvingBookmarkData: crashes on 10.8
  • Next by Date: Re: URLByResolvingBookmarkData: crashes on 10.8
  • Previous by thread: Re: SKIndexAddDocument crashing
  • Next by thread: Re: NIBs combining NSTabView and NSDrawer
  • Index(es):
    • Date
    • Thread