• 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: Table view check boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table view check boxes


  • Subject: Re: Table view check boxes
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 1 Jan 2004 02:50:44 -0500

On Jan 1, 2004, at 1:09 AM, April Gendill wrote:

> Are there any up to date examples of how to set up a tableview with
> check boxes in IB? I know they are available in the pallette but I
> cannot figure out how to connect them or communicate with them in the
> application.

The source code for OpenUp uses this arrangement in the delete panel.
http://homepage.mac.com/sanguish/OpenUp

it doesn't use the palette when the checkboxes are inserted though...

I just wrote this small example. basically, you get and set the
objectValue of the checkbox as you would a string... in the example I'm
using NSNumber to hold the boolean value.

http://homepage.mac.com/sanguish/CheckboxTableview.zip

you could check the identifier and convert the data to an NSNumber
during the "reading" of the value into the tableview, and do the
reverse in the writing (set)

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

  • Next by Date: Problems with Distributed Objects
  • Next by thread: Problems with Distributed Objects
  • Index(es):
    • Date
    • Thread