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

How to disable the text effect when init? #42

Closed
neil-wu opened this issue Oct 20, 2015 · 4 comments
Closed

How to disable the text effect when init? #42

neil-wu opened this issue Oct 20, 2015 · 4 comments

Comments

@neil-wu
Copy link

neil-wu commented Oct 20, 2015

When my view first loaded, I want to set some value for the label without effect animation.
How to make it?

self.upNumTxt.text = "init val"

Any suggestions ? Thx

@lexrus
Copy link
Owner

lexrus commented Oct 20, 2015

You can temporarily set morphingDuration to 0.001 and reverse to the default value 0.6 once you need the animation.
I should add an morphingEnabled property in the next release.

@neil-wu
Copy link
Author

neil-wu commented Oct 21, 2015

thx.

@lexrus
Copy link
Owner

lexrus commented Nov 12, 2015

Please checkout the latest release(0.0.9) and try the morphingEnabled property.

@neil-wu
Copy link
Author

neil-wu commented Nov 12, 2015

Well done. 👍

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

No branches or pull requests

2 participants