DeviceLayout
DeviceLayout is a Swift framework that lets you set Auto Layout constraints's differently for each device
Using only IBInspector
of Xcode to set up your constant per device size differently without any CODE :)
@IBInspectable
make a migic with outh any CODE
Only 3 seconds you can set design guide and make designer happy ?
Example
First inherit your constraint to DeviceLayoutConstraint
Second Set your own constant per device size and adjust your UI design guide
comparing PSD
, Sketch
or Zeplin
UI Guide
Make designer be happy :)
Requirements
- iOS 8.0+
- Swift 3+, 4+, 5+
Installation
? Installation
DeviceLayout is available through Cocoapods or Carthage
Carthage
github "cruisediary/DeviceLayout" ~> 0.5.0
Dependencies
- Device - Light weight tool for detecting the current device and screen size written in swift.
?? Author
cruz, cruzdiary@gmail.com
? License
DeviceLayout is available under the MIT license. See the LICENSE file for more info.