VGParallaxHeader
VGParallaxHeader copied to clipboard
Support for Swift projects
The name given to the files breaks at import to Swift projects. Since the Import is no longer held as a string with quotes, the plus symbol in "UIScrollView+VGParallaxHeader" makes the compiler try to add them together, which isn't really what we want right?
I know its not so much releated but have a look at my answer here https://github.com/stoprocent/VGParallaxHeader/issues/2 and expect update very soon.
I'm able to use BGParallaxHeader in Swift projects by adding the following line to the Bridging header:
#import "UIScrollView+VGParallaxHeader.h"
Please read more about the Bridging-Header here.
Is there a swift example?
I will be redoing ParallaxHeader for Swift 2 and dropping this repo so stay tuned.
Thanks @stoprocent
I am currently using this one for now, thanks for this great lib :+1:
When will you be releasing the swift version of this? Or a swift example