Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Please file a radar on this! This is a very common use case, and it shouldn't be as confusing as it is...You should be able to get this working using an extremely long minimumDuration and using the "pressing:" parameter on the longPressAction:myView.longPressAction(minimumDuration: 100000,
maximumDistance: 100,
{ print("Action: this is called when pressed for the duration") },
pressing: {pressed in print("This is called when the press starts/stops")})Put your coloring code in a closure you add to the pressing: parameter...