Skip to content

Latest commit

 

History

History
executable file
·
74 lines (56 loc) · 2.83 KB

CHANGELOG.md

File metadata and controls

executable file
·
74 lines (56 loc) · 2.83 KB

Changelog

All notable changes to this project will be documented in this file. KVConstraintKit adheres to Semantic Versioning.

Released on 2019-03-05.

Improved

  • 🎉 Support Swift 4.2 🎉

Released on 2017-12-18.

Improved

  • 🎉 Support Swift 4 and Xcode 9 🎉

Released on 2017-9-12.

Improved

  • Added the chainable syntax support.
  • Added the carthage support for iOS, macOS, tvOS

Changed

  • Deprecated the below Methods, For more details see the ApplyViewConstraint extension of View.
public final func applyAspectRatioConstraint()
public final func applyWidthConstraint(_ width: CGFloat)
public final func applyHeightConstraint(_ height: CGFloat)
public final func applyAtLeastHeightConstraint(_ height: CGFloat)
public final func applyAtMostHeightConstraint(_ height: CGFloat)
public final func applyAtLeastWidthConstraint(_ width: CGFloat)
public final func applyAtMostWidthConstraint(_ width:CGFloat)  
public final func applyLeftPinConstraintToSuperview(_ padding: CGFloat)
public final func applyRightPinConstraintToSuperview(_ padding: CGFloat)
public final func applyTopPinConstraintToSuperview(_ padding: CGFloat)
public final func applyBottomPinConstraintToSuperview(_ padding: CGFloat)
public final func applyLeadingPinConstraintToSuperview(_ padding: CGFloat)
public final func applyTrailingPinConstraintToSuperview(_ padding: CGFloat)
public final func applyCenterXPinConstraintToSuperview(_ offsetX: CGFloat)
public final func applyCenterYPinConstraintToSuperview(_ offsetY: CGFloat)
public final func applyConstraintToCenterHorizontallyInSuperview(_ offsetX: CGFloat = 0)
public final func applyConstraintToCenterVerticallyInSuperview(_ offsetY: CGFloat = 0)
public final func applyConstraintToCenterInSuperview(_ offset:CGPoint = CGPoint.zero)
public final func applyConstraintFitToSuperview(_ padding: CGFloat )
public final func applyConstraintFitHorizontallyToSuperview(_ padding: CGFloat = 0.0)
public final func applyConstraintFitVerticallyToSuperview(_ padding: CGFloat = 0.0) 
public final func applyConstraintFitToSuperview(contentInset inset:EdgeInsets = EdgeInsets.zero)

Released on 2017-6-10.

Added

  • Added support for macOS

Improved

  • Now support Swift 3 and Xcode 8

Released on 2016-12-31.

Added