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

Re: NSTableView again


  • Subject: Re: NSTableView again
  • From: XTAL <email@hidden>
  • Date: Tue, 19 Oct 2004 17:34:30 +0200

i know it can be optimized, at the place of [cellCheck boolValue] there was a different expression in the if statement earlier. i used return [[rowData objectForKey:@"checkCol"] boolValue]; in the final version.

On 19. Oct 2004, at 05:10PM, stephane sudre wrote:

On Oct 19, 2004, at 3:28 PM, XTAL wrote:

yes,

correct! for the folks who will maybe read this thread later, i used the following code:

NSDictionary *rowData = [tableData objectAtIndex:i];
NSNumber *cellCheck = [rowData objectForKey:@"colCheck"];


if ([cellCheck boolValue]) { return TRUE; }
else { return FALSE; };

Please, use:

return [cellCheck boolValue];

instead.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Re: NSTableView again (From: Andreas Hoeschler <email@hidden>)
 >Re: NSTableView again (From: XTAL <email@hidden>)
 >Re: NSTableView again (From: stephane sudre <email@hidden>)

  • Prev by Date: Re: Keyboard debounce - help with repeated letters
  • Next by Date: Re: Generating warning on particular build style
  • Previous by thread: Re: NSTableView again
  • Next by thread: Programatically connect a NSNumberFormatter
  • Index(es):
    • Date
    • Thread