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 can I change the text of the label without the animation? #60

Open
Sweeper777 opened this issue Jul 24, 2016 · 0 comments
Open

How can I change the text of the label without the animation? #60

Sweeper777 opened this issue Jul 24, 2016 · 0 comments

Comments

@Sweeper777
Copy link

Sometimes, I don't want to the animation to occur when I set the text. I thought this would work:

// label's initial text is 00:04
label.morphingEnabled = false
label.text = "hello"
label.morphingEnabled = true

And this is what happened:

simulator screen shot jul 24 2016 5 57 53 pm

The app basically froze in that frame of the animation. Why?

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

1 participant