UITableViewCell Moving Modeling in Fast

In the first run of my application, I want to show users that they can move cells in the TableView to get additional parameters. How can I let an animated cell automatically navigate → show options → and then return to normal? (Sliding simulation) in fast mode.

This will inform users that there are additional options for moving the cell.

I saw how some applications do this the first time they start the application.

thanks

+6
source share
1 answer

sounds like you're trying to do it UISwipeGestureRecgoniser

An example of this would be: perhaps it can be implemented: -

func handleMySwipes(sender: UISwipeGestureRecogniser) { if sender.direction == .Down { println("you swiped down") } if sender.direction == .Right { println("you swiped right") } if sender.direction == .Up { println("you swiped up") } if sender.direction == .Left { println("you swiped down") } override func viewDidLoad() { //swipe from left for example swipeRecogniser.direction = .Left } //then add it to your view view.addGestureRecogniser(swipeRecogniser) } 
0
source

Source: https://habr.com/ru/post/989231/


All Articles