Re: NSTableView app design
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