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

compilation warning - wrong enum type used #14

Open
chrisben opened this issue Mar 9, 2013 · 1 comment
Open

compilation warning - wrong enum type used #14

chrisben opened this issue Mar 9, 2013 · 1 comment

Comments

@chrisben
Copy link

chrisben commented Mar 9, 2013

This is the warning we get when compiling ZAActivityBar with xcode 4.6:

ZAActivityBar.m:169:33: Implicit conversion from enumeration type 'enum UIViewAnimationCurve' to different enumeration type 'UIViewAnimationOptions' (aka 'enum UIViewAnimationOptions')

UIViewAnimationCurveEaseIn is of type UIViewAnimationCurve whereas the 'options' parameter of 'animateWithDuration:delay:options:animations' is expecting a value of type UIViewAnimationOptions

The correct value there should be: UIViewAnimationOptionCurveEaseIn.

@Andreyco
Copy link
Contributor

Andreyco commented Apr 6, 2013

Indeed, this solves the warning. Fix please :)

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

2 participants