Jump to content

- - - - -

Change Highlighted Color on Touch Down


  • Please log in to reply
1 reply to this topic

#1 wizgod


    I'm what you guys call a User

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 575 posts
  • LocationThe Grid
Reputation: 149

Posted 12 March 2017 - 06:02 PM

Greetings Programs!


I have a subclassed SCCustomCell with a custom nib and I cannot seem to find a way to change the colour of the cell when the user has touched down on the cell before releasing to select it.


I've tried a number of solutions on StackOverflow but haven't found anything that works.


Any thoughts?



P.S. I love Swift... talk Swift.. Never too old school to learn yet another programming language. LOL! ;-)

#2 ozie



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

Posted 17 March 2017 - 01:33 AM

could it be something like the textbox uses the touch event and isn't passing it down to the cell

try turning off the top cell object (i.e. textbox etc) userenabled=no so that the touch event passes to the cell it self

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

Also tagged with one or more of these keywords: cells

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users