Releases: SnapKit/SnapKit
Releases · SnapKit/SnapKit
Release 5.7.1
- Podspec bump with privacy manifest support via Cocoapods
Release 5.7.0
Minor release:
- Update minimum deployment targets (iOS 12.0, macOS 10.13)
- Add
PrivacyInfo.xcprivacy
for Swift PM targets, Cocoapods unsupported due to #10325
Happy New Year!
Release 5.6.0
- Upgrade to syntax compatibility of Swift 5.6
- Upgrade dependency manager integrations
- Small tweaks and fixes
SnapKit 5.0.1
- Fixes a regression caused by #574
- Adds Playground #608 (thanks to @ShivaHuang)
- Updates SwiftPM support #615 (thanks to @maxxfrazer)
- Adds
.directionalEdges
and.directionalMargins
#595 (thanks to @jctrouble) - Make ConstraintViewDSL content priorities non mutational #586 (thanks to @nekrich)
Swift 5.0.0
• Official support for Swift 5.0
• Min version is now iOS 10.0, tvOS 10.0 and macOS 10.12
SnapKit 4.2.0
- Official Swift 4.2 compatibility release
SnapKit 4.0.1
- Compatibility with Xcode 10
Swift 4 + Xcode 9
This is a compatibility release to target Swift 4 and Xcode 9. It contains no new features only syntax changes required for Swift 4 and Xcode 9!
Bug fixes & Priorities
- Added
isActive
toConstraint
so you can see if there are any active NSLayoutConstraint's that are currently active as a result of the backing constraint. - Made
Constraint layoutConstraints
public again so you can publicly access the layout constraints. Use with caution as SnapKit expects ownership of these. - Fixed bug with
contentCompressionResistanceHorizontalPriority
(#387) - Fixed missing topMargin with
contentCompressionResistanceHorizontalPriority
(#393) - Added more robust priority support (#345)
Maker for Guides
ConstraintMaker for UILayoutGuide's
- You can now use a UILayoutGuide/NSLayoutGuide much like a UIView with the familiar
makeConstraints
,remakeConstraints
,updateConstraints
, andremoveConstraints
API.
Bug Fixes
- Fixed memory leaks and circular references