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

Compiler error with cocoapods #10

Open
windtalkerlv opened this issue Oct 15, 2017 · 4 comments
Open

Compiler error with cocoapods #10

windtalkerlv opened this issue Oct 15, 2017 · 4 comments

Comments

@windtalkerlv
Copy link

windtalkerlv commented Oct 15, 2017

After install with cocoapods, there is a compiler error Type 'UILayoutPriority' (aka 'Float') has no member 'defaultHigh' in ParallaxHeader.swift Anyone know whats happening?

@johnboker
Copy link

johnboker commented Oct 18, 2017

I think this is an issue with using the swift 4 version of this.

put:

pod 'ParallaxHeader', '~> 1.0.6'

in your project to use the swift 3 version.

@windtalkerlv
Copy link
Author

Thats what I thought too before I submitted this issue. I read online that cocoapods have some issue mixing swift 3 and swift 4 so I already did 'pod
ParallaxHeader', '~> 1.0.6'
still have the same problem

@johnboker
Copy link

I had the same issue, after adding the version to the pod then running pod update then pod install there was no longer a problem.

Maybe someone else on here can comment with a better solution.

@itruf
Copy link
Contributor

itruf commented Sep 20, 2018

Everything works fine, this issue should be closed

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

3 participants