• 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 15:28:43 +0200

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; };

danke!

xtal


On 19. Oct 2004, at 03:02PM, Andreas Hoeschler wrote:

Hi,

i'm stuck at this point. how do i retrieve the state of the checkbox? i tried the following, but it doesn't work:

NSTableView calls the setObjectValue:... method of NSTableViewDataSource if you check the checkBox. If remember that correctly you get an [NSNumber numberWithInt:1] for the value.

Regards,

Andreas

_______________________________________________
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
  • Follow-Ups:
    • Re: NSTableView again
      • From: stephane sudre <email@hidden>
References: 
 >Re: NSTableView again (From: Andreas Hoeschler <email@hidden>)

  • Prev by Date: Programatically connect a NSNumberFormatter
  • Next by Date: Re: Programatically connect a NSNumberFormatter
  • Previous by thread: Re: NSTableView again
  • Next by thread: Re: NSTableView again
  • Index(es):
    • Date
    • Thread