Device
EasyPeasy
Our great sponsors
Device | EasyPeasy | |
---|---|---|
2 | 2 | |
1,658 | 1,938 | |
- | - | |
5.2 | 0.0 | |
2 months ago | about 2 years ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Device
-
Awesome macOS Libraries List
Device - Light weight tool for detecting the current device and screen size written in swift. Language: Swift.
- Is there a check to only show a tile for devices that are from iPhone X and up? Something like UIDevice.current.isSmallerDevice(), but that checks for the iPhone version to be >= iPhone X
EasyPeasy
-
Transitioning from SwiftUI to UIKit
As someone who works with both SwiftUI and UIKit regularly, one of the barriers of entry to UIKit is layout. I’d recommend learning autolayout fundamentals but use a DSL like EasyPeasy instead of writing vanilla constraints by hand.
-
Awesome macOS Libraries List
EasyPeasy - Auto Layout made easy. Language: Swift.
What are some alternatives?
DeviceKit - DeviceKit is a value-type replacement of UIDevice.
SnapKit - A Swift Autolayout DSL for iOS & OS X
Inflection - The Optimus Prime of string inflection
Cartography - A declarative Auto Layout DSL for Swift :iphone::triangular_ruler:
WatchCon - WatchCon is a tool which enables creating easy connectivity between iOS and WatchOS.
MisterFusion - MisterFusion is Swift DSL for AutoLayout. It is the extremely clear, but concise syntax, in addition, can be used in both Swift and Objective-C. Support Safe Area and Size Class.
Masonry - Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
SwiftBox - Flexbox in Swift, using Facebook's css-layout.
MarkupKit
SwiftLinkPreview - It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
Swift-iOS-Localize-Constraint - localize constraint on the fly