Files
AsyncDisplayKit/_docs/installation.md
Hannah Troisi 92b4d983b2 Create installation.md
Moving this out of the main page so that we can highlight the advanced developer tools there instead.

Could someone check the Carthage section? I've never used Carthage before, but I found the directions here: https://medium.com/@thedan84/cocoapods-vs-carthage-675633e89c3e#.rm6rvd1jj
2016-04-07 13:58:05 -07:00

1.4 KiB
Raw Blame History

title, layout, permalink, next
title layout permalink next
Installation docs /docs/installation.html quick-start.html

###CocoaPods

ASDK is available on CocoaPods. Add the following to your Podfile:

pod 'AsyncDisplayKit'

ASDK 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.

Import the framework header, or create an Objective-C bridging header if you're using Swift:

#import <AsyncDisplayKit/AsyncDisplayKit.h>

###Carthage

ASDK is available through Carthage. Add the following to your Cartfile:

github "facebook/AsyncDisplayKit"

Run carthage update in Terminal and to fetch and build the ASDK library. This will create a folder named Carthage in your apps 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.

Learn more about Carthage.