• 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
Bound NSTextField displays Selection Placeholder instead of Null Placeholder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bound NSTextField displays Selection Placeholder instead of Null Placeholder


  • Subject: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
  • From: Markus Spoettl <email@hidden>
  • Date: Mon, 30 Jul 2012 09:36:13 +0200

Hello,

this is must be embarrassingly simple, still I can't figure out what I'm doing wrong this time.

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?

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Adding login items - who's right? The headers or the guide?
  • Next by Date: Re: NSDocument window opens - even if the document didn't read properly.
  • Previous by thread: Re: Custom UITableView cell label with ARC and storyboards
  • Next by thread: Re: Bound NSTextField displays Selection Placeholder instead of Null Placeholder
  • Index(es):
    • Date
    • Thread