UA-17470720-3

Jump to content


Photo
- - - - -

SCObjectSelectionAttributes - A no selection label text property


  • Please log in to reply
No replies to this topic

#1 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 17 February 2014 - 05:24 PM

i have a SCSelectionCell that i can the label text to something like "Nothing Selected" in the willDisplay when the item does not have anything displayed

 

but when the table changes to EDIT mode the label is cleared due to the SCSelectionCell's loadBoundValueIntoControl where it then sets the text to NIL if the test fails

 

it would be nice to have an attribute to set a default text for the label text in the cell when nothing is selected or if not attribute value set to nil


P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users