-
Notifications
You must be signed in to change notification settings - Fork 187
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
Animation does not cycle through all colors #6
Comments
Thank you for your new issue :D Can you show me a problem with some repository using PastelView ? I think that will help solve the problem. :D |
Here is the code that I am using.
|
it works fine to me but its too slow to show all colors because it takes 15 seconds per pair color set |
Interesting. I will try it this evening when I am off work. Thanks for looking into this. |
I hope this example solves the problem. :) |
I found the problem in my app was starting the animation in |
More, You will know that it will be stopped when view is not in front. So, viewDidAppear will always call Cheers! |
Yes, had the same issue, in one ViewController it only worked in viewDidAppear. The only difference I could tell was that the first VC (where it worked in viewDidLoad) was created from Storyboard, the other one not. |
(Sorry if I'm doing this incorrectly, somewhat new to issues)
In my app I've set a PastelView as a background view of a UITableView in a UITableViewController. The PastelView will only animate through the first 3 colors provided. The default configuration (when no custom colors, start/end points, or duration are set) has the same issue.
The text was updated successfully, but these errors were encountered: