-
Notifications
You must be signed in to change notification settings - Fork 488
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
Type 'AnimationType' has no member 'from' #74
Comments
Same problem |
@d0hnj0e @boardmain I changed the API in 3.0 to use |
Thanks for the clarification! |
@marcosgriselli Will AnimationType.from be added back or should I stick with the vector? |
@samdogg7 I can add it back. Clearly the vector API idea created more confusion than solutions 😅 |
@marcosgriselli You don't need to add it back. I was originally confused, I didn't see anything about vector on the readme page. Figured it out through your examples! |
Btw i had to use 2.7.0 to resolve this issue. |
Steps to Reproduce the Problem
import ViewAnimator
let moveFromLeftAnimation = AnimationType.from(direction: .left, offset: 50)
swipeTextLabelOutlet.animate(animations: [moveFromLeftAnimation], initialAlpha: 0, finalAlpha: 1, delay: baseDelay + delayTwo, duration: duration)
results in
Possible choices are
Specifications
The text was updated successfully, but these errors were encountered: