Build Status CocoaPods Compatible Join the chat at https://gitter.im/SwiftyLayouts/Lobby

SwiftyLayouts


Release Notes

library used to provide delight collection view layouts.

Requirements

Communication

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1+ is required to build SwiftyLayouts 1.0.0

To integrate SwiftyLayouts into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
pod 'SwiftyLayouts', '~> 1.0.0'
end

Then, run the following command:

$ pod install

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate SwiftyLayouts into your project manually.

Embedded Framework

$ git init
$ git submodule add https://github.com/kaushlendrapal/SwiftyLayouts.git

It should appear nested underneath your application’s blue project icon. Whether it is above or below all the other Xcode groups does not matter.

It does not matter which Products folder you choose from, but it does matter whether you choose the top or bottom SwiftyLayouts.framework.

You can verify which one you selected by inspecting the build log for your project. The build target for SwiftyLayouts will be listed as either Alamofire iOS

The SwiftyLayouts.framework is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.

Setup

Find the above displayed examples in the SwiftyLayoutsExample folder.

Contributing

See the CONTRIBUTING document. Thank you, contributors!

FAQ

How can I add Global header to Layout?

License

SwiftyLayouts library are Copyright (c) 2018 www.ideveloperlab.com It contains free software that may be redistributed under MIT license LICENSE .

About

SwiftyLayouts

library used to provide delight collection view layouts.

We love open source software! See our other projects or hire us to help build your product.