All Versions
10
Latest Version
Avg Release Cycle
85 days
Latest Release
168 days ago

Changelog History

  • v4.3.1

    May 31, 2019

    🆕 New Features

    • 👍 Full support for Xcode 10.2 and Swift 5.0

    🗄 Deprecations

    • ⬇️ Drops official support for Xcode 9.x

    👀 See all commits since 4.3.

  • v4.3

    September 22, 2018

    🆕 New Features

  • v4.2.4

    June 25, 2018

    👀 See all commits since 4.2.3.

    🐛 Bug Fixes

    • 👍 Allow construction of an AnchorPair outside of Anchorage. (#59, @ZevEisenberg)

    Note: this change is non-breaking, but to realize its benefits, you may need to delete code like this if you had added it to your project:

    extension AnchorPair { init(first: T, second: U) { self.first = first self.second = second } }
    
  • v4.2.3

    June 20, 2018

    👀 See all commits since 4.2.2.

    🐛 Bug Fixes

    • ➕ Added support for building with Swift 4.2 in Xcode 10. (#60, @kabiroberai)
  • v4.2.2

    April 18, 2018

    👀 See all commits since 4.2.1.

    🐛 Bug Fixes

  • v4.2.1

    December 19, 2017
  • v4.2.0

    November 29, 2017
    • ➕ Add support for multiplier constraints derived from axis, thanks to @sanekgusev
  • v4.1.0

    September 25, 2017

    🍎 Anchorage 4.1 adds support for Xcode 9, iOS 11, tvOS 11, and macOS 10.13.

    💻 This version also drops support for Float80. If you were previously using this floating-point type in UI code, you may want to... reconsider.

  • v4.0.0

    May 10, 2017

    👀 Anchorage 4 adds a new batching API for creating multiple constraints, with the ability to return inactive constraints if you need them. It also improves the API in many places, restructures the code to be more maintainable, and drops Swift 2.3 support. See the ReadMe for a full rundown of the current feature set.

    🆕 New Features

    • Batching: any constraints created in the batch will not be activated until the whole batch returns. Optionally, you can write batch(active: false) { ... } to get back inactive constraints with Auto Layout's batch-activation mechanism.
    • ➕ Added sizeAnchors: you can now pin a view's size to a literal CGSize or another view's size anchors in a single line of code.
    • ➕ Added support for using (UI/NS)EdgeInsets when constraining edge anchors; useful for margins when not using layoutMarginsGuide.

    👌 Improvements

    • Expanded and improved the use of layout priority shorthand enum from #33. This is now the preferred way to adjust priority in Anchorage.
    • ➕ Added tests

    💥 Breaking Changes

    • ⬇️ dropped Swift 2.3 support
    • 👀 minor changes that may make some priority-related code fail to compile. This code should be converted to the much more concise new shorthand syntax; see the ReadMe for details.
    • the following have been renamed:
      • AxisGroupConstraintPair
      • EdgeGroupConstraintGroup
      • LayoutPriorityPriority

    🐛 Bug fixes

    • 🛠 Fixed copy/paste errors that resulted in incorrect constraints being created (9891570)
  • v3.3.0

    April 27, 2017