Latest 0.1.1
Homepage https://github.com/aopod/MASwifty
License MIT
Platforms ios 8.0
Dependencies Masonry
Frameworks UIKit
Authors

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.

Latest podspec

{
    "name": "MASwifty",
    "version": "0.1.1",
    "summary": "Swifty Masonry",
    "description": "Swifty way to use Masonry",
    "homepage": "https://github.com/aopod/MASwifty",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "aopod": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aopod/MASwifty.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.2",
    "source_files": "MASwifty/Classes/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "Masonry": []
    }
}

Pin It on Pinterest

Share This