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: Single selection and bindings




On Jun 30, 2006, at 11:27 AM, George Orthwein wrote:

Those options are right there in the bindings pane, aren't they? (No SelectionPlaceholder, Multiple Values Placeholder)
Or are they not working as expected?

that won't give you a useable value for when there is only a single selection.


instead of binding to selection, bind to selectedObjects. Then add a value transformer that returns YES if the count is 1, and NO in all the other conditions.



_______________________________________________
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: 
 >Single selection and bindings (From: Jonathan Guy <email@hidden>)
 >Re: Single selection and bindings (From: George Orthwein <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.