Minimal Auto Layout in Swift
What is Restraint?
Restraint is a very very small library to help make your use of NSLayoutConstraint in Swift more legible & declarative.
- Like programmatic views?
- Like the benefits of using pure AutoLayout?
- Like clear and minimal interfaces?
- Dislike Visual Format Language and “stringly” typing?
- Dislike the verbosity of NSLayoutConstraint?
- Dislike heavy dependencies?
- Practice Restraint!
Features:
- As simple as possible
- Easy to maintain
- Easy to replace
- Easy to circumvent
- Not too clever
- Sane defaults
- Automatic handling of setTranslatesAutoresizingMaskIntoConstraints
Overview
- Pricing: Free
- Resource Link: https://github.com/puffinsupply/Restraint
- Resource Maker: The Puffin Supply Project
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- Carthage: puffinsupply/Restraint
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142
Related resources
XAnimatedImage
XAnimatedImage is a performant animated GIF engine for iOS written in Swift
Font-Awesome-Swift
Font Awesome swift library for iOS
Curve Fit
Curve-Fit is an Android library for drawing curves on Google Maps