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

Add this repo with Cocoapods #45

Open
Joohansson opened this issue Jun 27, 2018 · 2 comments
Open

Add this repo with Cocoapods #45

Joohansson opened this issue Jun 27, 2018 · 2 comments

Comments

@Joohansson
Copy link
Contributor

I know how to use cocoapods and I think that is the preferred method because it's so simple.

How do I import this source to my xcode project in a proper way (without cocoapods)?

@jessedc
Copy link
Owner

jessedc commented Jun 27, 2018

The tiled scroll view project vends a static library target. The demo project is setup to depend on the tiled scroll view project without using cocoapods, this should be a good guide on how to set it up. 👍

@Joohansson
Copy link
Contributor Author

Joohansson commented Jun 27, 2018

Could you please give me some direction because I'm quite new to xcode. Do I import the whole folder structure into my project or can I just link it as a framework? Maybe I can import the JCTiledScrollView.xcworkspace or JCTiledScrollView.xcodeproj somehow? I want it to be easy to update if changes are made to this repo. The static library file .a seems to be missing.

Edit: I think I got it now. I had to add the JCTiledScrollView.xcodeproj to a workspace, not a project. Then I could add the static library file "libJCTiledScrollView.a" under General/Linked framesworks. I also had to do a build before the "import JCTiledScrollView" started to work.

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

2 participants