On 7/30/12 4:54 PM, Keary Suska wrote:
I have an NSTextField bound to some NSString property via the selection
proxy of an array controller. When the property value is nil, the field
displays the selection placeholder, not the null placeholder. Why?

When I bind the field to the object directly (not via controller), I get
the null placeholder. Are the controllers not capable of doing this?


This is because the controller has no selection. When working with a
controller, whether it has a selection or not is dominant. Your first line of
attack is to determine why the controller has no selection...

No, the controller does have a valid selection and other fields bound to other keypaths of the same controller/selection (in other words same object, because it's a single-object selection) do show values.

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to