CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

MASwifty 0.1.1

MASwifty 0.1.1

Maintained by aopod.



MASwifty 0.1.1

  • By
  • aopod

MASwifty

Swifty way to use Masonry

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

header.mas.makeConstraints { (make) in
    make.top.equalTo(self.mas.topLayoutGuideBottom)
    make.leading.trailing.equalToSuperview()
    make.height.equalTo(44)
}
label.mas.compressionPriority(.required, for: .horizontal, .vertical)
footerViews.mas.distribute(along: .horizontal, fixedSpacing: 10, leadSpacing: 10, tailSpacing: 10)

Requirements

  • iOS 8+
  • Swift 4.2+

Installation

MASwifty is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MASwifty'

Author

aopod, [email protected]

License

MASwifty is available under the MIT license. See the LICENSE file for more info.