• 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: NSTableView app design
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView app design


  • Subject: Re: NSTableView app design
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 27 Apr 2006 20:39:38 +0200

Scott,

On 27.4.2006, at 20:12, Scott Frankel wrote:

Your comment below about different tables brings up another question. The app I'm planning has more than one tableView. I assume that by creating an NSArrayController object in IB for each tableView -- and setting its Object Class Name to correspond with the correct implementation file -- then all tableViews can co-exist in the same app. Yes?

Very yes. In any app (but for very plain test cases) you have a number of controllers, each of which serve a number of widgets: most often one "main", like a table or a browser, and a number of "auxiliary", like text fields or popups (this is no hard rule though and other designs are possible and used; the only limitation is that one controller has only one "content").


(Another, rather technical limitation, is that one controller cannot be easily used across NIBs: with multi-NIB design you very often use a separate NSObjectController in cases where you would bind directly to main controller's selection be it in the same NIB. But this, I guess, is well outside what you have asked for, so don't please let this uneeded bit of information to confuse you :))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >NSTableView app design (From: Scott Frankel <email@hidden>)
 >Re: NSTableView app design (From: Paul Lynch <email@hidden>)
 >Re: NSTableView app design (From: Ondra Cada <email@hidden>)
 >Re: NSTableView app design (From: Scott Frankel <email@hidden>)

  • Prev by Date: Re: Design question
  • Next by Date: Progress Bar while Reading a File
  • Previous by thread: Re: NSTableView app design
  • Next by thread: Re: NSTableView app design
  • Index(es):
    • Date
    • Thread