• 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
Tabs and Documents Design Considerations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tabs and Documents Design Considerations


  • Subject: Tabs and Documents Design Considerations
  • From: Dimitri Bouniol <email@hidden>
  • Date: Wed, 16 Aug 2006 11:45:56 -0700

In my NSDocument-Based App, I would like to feature tabs in the windows, so multiple NSDocuments can share the same real-estate. I would also like to be able to drag tabs between windows, or to drag them in a empty space to create a new window. How should I organize this with my classes? Should I:
- Have a mutable array of window controllers and a mutable array of documents (without their own window controllers)
- Have a mutable array of window controllers and a mutable array of documents with their own window controllers that don't have windows
- Have a mutable array of window controllers and a mutable array of documents with their own window controllers that have a custom subclass of NSWindow


I would personally go with the first or second option, but I do not know how I can have an NSDocument without a window controller or a window controller without a window. And I have no idea how subclassing NSWindow will work... Please Help Me.
--
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


  • Follow-Ups:
    • Re: Tabs and Documents Design Considerations
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Drag and drop to an NSTextView
  • Next by Date: Re: Drag and drop to an NSTextView
  • Previous by thread: [JOB] Mac Developers Wanted
  • Next by thread: Re: Tabs and Documents Design Considerations
  • Index(es):
    • Date
    • Thread