• 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: how to bind to array count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to bind to array count


  • Subject: Re: how to bind to array count
  • From: Dustin Voss <email@hidden>
  • Date: Tue, 20 Jan 2004 11:15:02 -0800

On 20 Jan, 2004, at 7:18 AM, Ken Grigsby wrote:

I have a table view bound to an NSArrayController and would like to display the number of rows in a text field. Is there a way to bind the text field value to the count of the array managed by the array controller?

Bind the text field value to the controller's "contentArray.@count" key-path. This, and other KVC array operators, is documented at http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/Concepts/ArrayOperators.html.
_______________________________________________
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.
References: 
 >how to bind to array count (From: Ken Grigsby <email@hidden>)

  • Prev by Date: Re: how to bind to array count
  • Next by Date: Re: Image on TableView
  • Previous by thread: Re: how to bind to array count
  • Next by thread: Idle timer
  • Index(es):
    • Date
    • Thread