NSArrayController binding : Suppress "No selection"

Posted by Holli on Stack Overflow See other posts from Stack Overflow or by Holli
Published on 2010-04-22T05:38:40Z Indexed on 2010/04/22 5:43 UTC
Read the original article Hit count: 350

Filed under:
|
|

Hello,

I have a texfield bound to an ArrayController. The controller key is "selection" because I select items from a NSTableView. But when there are no items in the table the textfield shows the gray text "no selection".

How can I suppress this text and have just an empty textfield? Or how can I change the "No selection" text to something else?

© Stack Overflow or respective owner

Related posts about cocoa-bindings

Related posts about cocoa