Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancelling animation #23

Closed
MartinQue opened this issue Apr 1, 2016 · 2 comments
Closed

Cancelling animation #23

MartinQue opened this issue Apr 1, 2016 · 2 comments

Comments

@MartinQue
Copy link

Hi, this should be an easy one but can't seem to figure it out. Any help please.

If for instance a login/ signup fails, how does one cancel animation? ...

Thanks

@DeathRisker
Copy link

You can implement a method in source file called stopLoadingAnimation() in TransitionSubmitButton.swift
public func stopLoadingAnimation(){
self.spiner.stopAnimation()
self.returnToOriginalState() }
I dont know why the author didn't add this useful method lol

@MaeseppTarvo
Copy link

MaeseppTarvo commented Mar 15, 2017

There is -- setOrigianlState() does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants