Layer is distributed as a source code package or compiled bundle, and can be easily integrated into a new app or an existing codebase with standard tooling.
Atlas can be installed directly into your application via CocoaPods or by directly importing the source code files. Please note that Atlas has a direct dependency on LayerKit that must be satisfied in order to build the components.
The recommended path for installation is CocoaPods. You can add Atlas to your project via CocoaPods by adding the following line to your Podfile:
Since Atlas has a direct dependency on LayerKit, the use of dynamic frameworks is required; therefore please add the following line to the top of you podfile:
Complete the installation by executing:
Source Code Installation
If you wish to install Atlas directly into your application from source, then clone the repository and add code and resources to your application:
- Drag and drop the files from the
Resourcesdirectories onto your project, instructing Xcode to copy items into your destination group’s folder.
- Update your project settings to include the linker flags:
- Add the following Cocoa SDK frameworks to your project:
Build and run your project to verify installation was successful. For more information, check out Atlas on GitHub.Overview UI Concepts