ParallaxHeader icon indicating copy to clipboard operation
ParallaxHeader copied to clipboard

Compiler error with cocoapods

Open windtalkerlv opened this issue 7 years ago • 4 comments

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

windtalkerlv avatar Oct 15 '17 23:10 windtalkerlv

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.

johnboker avatar Oct 18 '17 13:10 johnboker

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

windtalkerlv avatar Oct 19 '17 03:10 windtalkerlv

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.

johnboker avatar Oct 19 '17 11:10 johnboker

Everything works fine, this issue should be closed

itruf avatar Sep 20 '18 20:09 itruf