Re: [NSTableView copy]
Re: [NSTableView copy]
- Subject: Re: [NSTableView copy]
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 30 Jan 2003 13:40:08 +0100
On Thursday, January 30, 2003, at 09:36 AM, Clark Mueller wrote:
While I feel certain that I'm about to collapse under a storm of
assault for being stupid, how can I get something equivalent to
[myTableView copy]? NSTableView does not have this defined by itself,
and it is apparently too late for me to think this one out. Can anyone
point me towards a way of doing this? Thanks.
There's this solution:
- (NSTableView *) copy
{
NSTableView * nTableView;
nTableView=[[NSTableView alloc] initWithFrame:[self frame]];
[nTableView setDelagate:[self delegate]];
...
return nTableView;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.