in my view controller i have 2 functions, each should stop the animation of the other
func firstFunc() {
//i need stop secondFunc here
Alert.show()
//here is starting animate first
}
func secondFunc() {
//i need to stop firstFunc here
Alert.show()
//here is starting animate second
}
In my UI i have 2 buttons for this functions that starting long animate