-
Notifications
You must be signed in to change notification settings - Fork 186
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
Can't reference GSKStretchyHeaderViewSubclass after install with Cocoa Pods #87
Comments
Hi, maybe you need to import |
i already import GSKStretchyHeaderView and still have error |
@julioas09 is the library works with you now? |
I think you need to add a bridging header, because this component is written in Objective-C: |
@gskbyte great thanks for you |
Thanks. after adding those lines to the bridging header, that error goes away, however, when trying to build the project I get the following error: I understand those are files included in the example, which are not added when installing the pod package. Which would be the right approach to be able to use the library properly in a swift project? Thank you! |
Hi, to be honest I can't really help as this depends on the configuration of your project. Have you tried with Carthage? |
i use cocoa pods not Carthage
…On Tue, Mar 13, 2018 at 6:55 PM, Jose Alcalá Correa < ***@***.***> wrote:
Hi,
to be honest I can't really help as this depends on the configuration of
your project. Have you tried with Carthage?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#87 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ac9sV1UMNNkedNCT5LbV8AXeDlfYAPkqks5td_oCgaJpZM4SfU9r>
.
|
I have this same problem after doing the first install. Did anyone find an answer to this question? |
Hi, if you are importing this library in a Swift project, you just need to |
I think what you missed is that you have to create a new class that is a subclass of Example: use And write your custom class
|
Hi, maybe I'm missing something and you can help me.
I'm installing using Cocoa Pods. My podfile looks like this:
After I do a 'pod install' successfully, i cant't reference GSKStretchyHeaderViewSubclass.
If I write
var stretchyHeader: GSKStretchyHeaderViewSubclass!
I get the error "Use of undeclared type". I'm probably missing something, but I can't find the solution...
Thanks!
The text was updated successfully, but these errors were encountered: