• 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: Binding values to NSTableColumn using NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding values to NSTableColumn using NSArrayController


  • Subject: Re: Binding values to NSTableColumn using NSArrayController
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 19 May 2004 02:47:50 -0700

On May 19, 2004, at 2:22 AM, Ivan Myrvold wrote:

I have replaced a column in an NSTableView with an NSButton with buttonType set to NSSwitchButton.
The other column's value is bound to an NSArrayController.
My question is, can I also bind the checkbox column's value to an NSArrayController? How?

Yes, just bind the table column's 'value' as you did for a text field...

Related examples at:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/index.html#//apple_ref/doc/uid/10000167i>
and
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc
_______________________________________________
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: Binding values to NSTableColumn using NSArrayController
      • From: Ivan Myrvold <email@hidden>
References: 
 >Binding values to NSTableColumn using NSArrayController (From: Ivan Myrvold <email@hidden>)

  • Prev by Date: Binding values to NSTableColumn using NSArrayController
  • Next by Date: Where is the applescript dictionary hold?
  • Previous by thread: Binding values to NSTableColumn using NSArrayController
  • Next by thread: Re: Binding values to NSTableColumn using NSArrayController
  • Index(es):
    • Date
    • Thread