From ca044e977cd78c2a9552a737dd67aa36c49beb8d Mon Sep 17 00:00:00 2001 From: Luke Parham Date: Tue, 26 Apr 2016 22:31:32 -0500 Subject: [PATCH] clarified static library --- _docs/installation.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/_docs/installation.md b/_docs/installation.md index 3d52d944..56943101 100644 --- a/_docs/installation.md +++ b/_docs/installation.md @@ -6,6 +6,7 @@ next: intelligent-preloading.html --- ### CocoaPods + AsyncDisplayKit is available on CocoaPods. Add the following to your Podfile:
@@ -20,6 +21,7 @@ pod 'AsyncDisplayKit' ### Carthage + AsyncDisplayKit is also available through Carthage. Add the following to your Cartfile:
@@ -33,9 +35,15 @@ github "facebook/AsyncDisplayKit" Run ‘carthage update’ in Terminal and to fetch and build the AsyncDisplayKit library. This will create a folder named Carthage in your app’s root folder. In that folder there will be a ‘Build’ folder from where you have to drag the frameworks you want to use into the “Linked Frameworks and Libraries” section in Xcode. -###Static Library +### Static Library + AsyncDisplayKit can also be used as a regular static library -Copy the project to your codebase manually, adding `AsyncDisplayKit.xcodeproj` to your workspace. Add `libAsyncDisplayKit.a`, AssetsLibrary, and Photos to the "Link Binary With Libraries" build phase. Include `-lc++ -ObjC` in your project linker flags. +
    +
  1. Copy the project to your codebase manually, adding `AsyncDisplayKit.xcodeproj` to your workspace.
  2. +
  3. In "Build Phases", add the AsyncDisplayKit Library to the list of "Target Dependencies".
  4. +
  5. In "Build Phases", add `libAsyncDisplayKit.a`, AssetsLibrary, and Photos to the "Link Binary With Libraries" list.
  6. +
  7. In "Build Settings", include `-lc++ -ObjC` in your project linker flags.
  8. +
###Importing AsyncDisplayKit Import the framework header, or create an Objective-C bridging header if you're using **Swift**: