objective c - NSPopUpButton placeholder value? -


notice in xcode's symbols list (the nspopupbutton directly above editor, right of edited documents), shows <no selected symbol> when you're out of scope of symbols lists, when click on option not there. there trick making "placeholder" magic happen, or there setter somewhere i'm not seeing?

placeholder text not menu item

if you're using bindings, can set null/no selection placeholders , turn on "inserts null placeholder" using interface builder's bindings inspector. if you're not using bindings, can put whatever menu item in there @ runtime.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -