• 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: mmalcolm crawford <email@hidden>
  • Date: Tue, 20 Jan 2004 11:04:54 -0800

On Jan 20, 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?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/Concepts/ArrayOperators.html>

So, bind to the array controller; controller key is 'arrangedObjects'; key path is '@count'.

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.

References: 
 >how to bind to array count (From: Ken Grigsby <email@hidden>)

  • Prev by Date: Re: Error -10827 from Launch Services
  • Next by Date: Re: how to bind to array count
  • Previous by thread: how to bind to array count
  • Next by thread: Re: how to bind to array count
  • Index(es):
    • Date
    • Thread