diff --git a/_docs/installation.md b/_docs/installation.md index e748092b..61639a84 100644 --- a/_docs/installation.md +++ b/_docs/installation.md @@ -9,17 +9,19 @@ AsyncDisplayKit is available on CocoaPods. A ```objective-c pod 'AsyncDisplayKit' ``` + ###Carthage AsyncDisplayKit is also available through Carthage. Add the following to your Cartfile: ```objective-c 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 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. + ###Importing AsyncDisplayKit Import the framework header, or create an Objective-C bridging header if you're using **Swift**: - ```objective-c -#import -``` + + `#import `