Re: Name of NSTableView
Re: Name of NSTableView
- Subject: Re: Name of NSTableView
- From: John Stiles <email@hidden>
- Date: Wed, 02 Apr 2008 15:01:22 -0700
Your delegate and data source can be the same object if you want.
Nothing prevents it.
Mr. Gecko wrote:
What do you mean by the "name"?
in the identity tab of Interface builder
You could make one class that has all of the common code, and then
subclass it for each table instance. That's a pretty common technique.
I did that before but I can't do shouldSelectRow with that which I
need for filling out fields once a row is selected.
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. I know I can use autosave name but I am not sure if I
am suppose to use that or what it does.
Here is what I have tried already
[tableView name];
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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