JCTiledScrollView icon indicating copy to clipboard operation
JCTiledScrollView copied to clipboard

Add this repo with Cocoapods

Open Joohansson opened this issue 6 years ago • 2 comments

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)?

Joohansson avatar Jun 27 '18 09:06 Joohansson

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. :+1:

jessedc avatar Jun 27 '18 09:06 jessedc

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.

Joohansson avatar Jun 27 '18 09:06 Joohansson