Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trivial Bindings question



actually, you could bind to

theArrayController's selectedObjects.@count

if it's 0 it is an empty selection.. you'll want to invert that..


On Aug 11, 2005, at 5:30 PM, Ricky Sharp wrote:

If you need to more generally know when there is a selection, I think you could bind to the controller's selectedIndex. I think you'd then need to set up a value transformer to transform the index value into an appropriate boolean value.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Key-Observing, change, and NSNull (From: Edwin Vane <email@hidden>)
 >Re: Key-Observing, change, and NSNull (From: Edwin Vane <email@hidden>)
 >Trivial Bindings question (From: John Stiles <email@hidden>)
 >Re: Trivial Bindings question (From: Ricky Sharp <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.