• 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 copy]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >[NSTableView copy] (From: Clark Mueller <email@hidden>)

  • Prev by Date: Re: Hand cursor
  • Next by Date: Re: initWithFrame not being called?
  • Previous by thread: [NSTableView copy]
  • Next by thread: Interprocess communication on Mac OS X
  • Index(es):
    • Date
    • Thread