Re: how to bind to array count
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.