• 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
Bug in tableColumnWithIdentifier: ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in tableColumnWithIdentifier: ?


  • Subject: Bug in tableColumnWithIdentifier: ?
  • From: Yann Bizeul <email@hidden>
  • Date: Sun, 13 Oct 2002 17:02:11 +0200

Hi,

How can this be possible ? I can't get a column by his identifier, but
I can get the good identifier when getting the column via tableColumns:
... weird, isn't it ?

Thanks for your answers !

-(void)checkboxChanged:(id)sender
{
NSLog(@"%@",[ sender tableColumnWithIdentifier:@"service"]);
// returns 2002-10-13 16:57:59.825 TSM[22380] (null)
NSLog(@"%@",[[[ sender tableColumns ] objectAtIndex: 1 ] identifier
]);
// returns 2002-10-13 16:57:59.825 TSM[22380] service
NSCell *currentCell = [ [ sender
tableColumnWithIdentifier:@"service"] dataCellForRow:[sender
selectedRow]];
NSString *service = [ currentCell objectValue ];
}
--
Yann BIZEUL
LINAGORA
30, rue Saint-Augustin
75002 Paris

Til. 01 58 18 68 35
Std. 01 58 18 68 28
Mob. 06 60 43 00 88
_______________________________________________
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.

  • Follow-Ups:
    • Re: Bug in tableColumnWithIdentifier: ?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: App crashes on thread exit
  • Next by Date: Re: Displaying different languages in an NSTableView
  • Previous by thread: Re: Newbie: app cursors and icons
  • Next by thread: Re: Bug in tableColumnWithIdentifier: ?
  • Index(es):
    • Date
    • Thread