Latest | 0.2.0 |
---|---|
Homepage | https://github.com/abswift/layout-extension |
License | MIT |
Platforms | ios 9.0 |
Authors |
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
LayoutExtension is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'LayoutExtension'
Usage
When using the library through CocoaPods then please import the library like follows:
import LayoutExtension
Basic example:
self.view.addSubview(box) { view in
view.width(50)
view.height(50)
view.center()
}
Author
Ariel Bogdziewicz
License
LayoutExtension is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "LayoutExtension", "version": "0.2.0", "summary": "Simple interface for auto layout in Swift", "description": "LayoutExtension simplifies code related to auto layout in Swift.", "homepage": "https://github.com/abswift/layout-extension", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Ariel Bogdziewicz": "[email protected]" }, "source": { "git": "https://github.com/abswift/layout-extension.git", "tag": "0.2.0" }, "platforms": { "ios": "9.0" }, "swift_versions": "5.0", "source_files": "LayoutExtension/Classes/*.swift", "swift_version": "5.0" }
Fri, 31 May 2019 10:16:06 +0000