Wrapper of frame and auto layout.
Ready to use on iOS 13+, tvOS 13+, watchOS 6.0+.
In Xcode go to Project -> Your Project Name -> Package Dependencies
-> Tap Plus. Insert url:
https://github.com/sparrowcode/Layouter
or adding it to the dependencies
of your Package.swift
:
dependencies: [
.package(url: "https://github.com/sparrowcode/Layouter", .upToNextMajor(from: "1.0.0"))
]
This is an outdated way of doing things. I advise you to use SPM. However, I will continue to support Cocoapods for some time.
Cocoapods Instalation
CocoaPods is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your Podfile
:
pod 'Layouter'
If you prefer not to use any of dependency managers, you can integrate manually. Put Sources/SwiftBoost
folder in your Xcode project. Make sure to enable Copy items if needed
and Create groups
.
If you use a Layouter
, add your app via Pull Request.