• 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
NSTabView-like view and NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTabView-like view and NSWindowController


  • Subject: NSTabView-like view and NSWindowController
  • From: email@hidden
  • Date: Fri, 2 Mar 2007 08:46:47 +0100 (CET)
  • Importance: Normal

          Hello all,

 I'm currently working on a "swap view" in a window (much like an NSTabView,
with  two contents displayed alternatively in the
same window, but I want the two views to be "full-window" so I can't use
NSTabView). The "TextSizingExample" source code by Mike Ferris is a clear
example on how to do this, but its main limitation is that it does not use
the NSDocument architecture at all, and it is as yet unclear to me how the
code could be adapted to NSDocument and NSWindowController objects.
As I see it, I should have just one NSDocument subclass and just one
window, and two nib files. But  should I use one NSWindowController
(the default one for the document) or two (one for each nib file) ?

   Thanks in advance for any suggestions ....

                                                                           Ewan




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSTabView-like view and NSWindowController
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: NSColor opacity
  • Next by Date: Re: Clipping text from NSLayoutManager
  • Previous by thread: Re: NSColor opacity
  • Next by thread: Re: NSTabView-like view and NSWindowController
  • Index(es):
    • Date
    • Thread