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

Support for Swift projects #3

Open
cupofjoakim opened this issue Oct 27, 2014 · 6 comments
Open

Support for Swift projects #3

cupofjoakim opened this issue Oct 27, 2014 · 6 comments

Comments

@cupofjoakim
Copy link

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?

@stoprocent
Copy link
Owner

I know its not so much releated but have a look at my answer here #2 and expect update very soon.

@Jeehut
Copy link

Jeehut commented Nov 25, 2014

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.

@vin-the-dev
Copy link

Is there a swift example?

@stoprocent
Copy link
Owner

I will be redoing ParallaxHeader for Swift 2 and dropping this repo so stay tuned.

@vin-the-dev
Copy link

Thanks @stoprocent

I am currently using this one for now, thanks for this great lib 👍

@nevinjethmalani
Copy link

nevinjethmalani commented May 31, 2016

When will you be releasing the swift version of this? Or a swift example

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

5 participants