Re: Name of NSTableView
Re: Name of NSTableView
- Subject: Re: Name of NSTableView
- From: Jens Alfke <email@hidden>
- Date: Wed, 2 Apr 2008 15:07:39 -0700
On 2 Apr '08, at 2:52 PM, Mr. Gecko wrote:
How would I get the name of a table view? I am trying to make all
of my tables use one class for the data source so I can make my
code more smaller.
Why does your code need to be smaller? How big is it? This sounds like
something that would really complicate the code and make it harder to
read. The computer's disk space and RAM are less important [within
limits!] than your development and coding time.
In any case, I don't recommend trying to put special cases in your
code that looks at some identifier of the table. Instead, subclass a
base class.
I did that before but I can't do shouldSelectRow with that which I
need for filling out fields once a row is selected.
I don't understand...
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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