All Versions
65
Latest Version
Avg Release Cycle
40 days
Latest Release
-

Changelog History
Page 2

  • v1.8.12 Changes

    October 07, 2019

    โšก๏ธ Update podspec to specify explicitly supported swift versions: ['4.2', '5.0', '5.1']

  • v1.8.11 Changes

    October 03, 2019

    ๐Ÿš€ Released on 2019-10-03

    ๐Ÿ‘Œ Improve method that validates width and height values
    • Method that set the width and height now validates even more parameter, by checking NaN and Infinity values.
  • v1.8.10 Changes

    September 16, 2019

    ๐Ÿš€ Released on 2019-09-16

    Usage UIView.effectiveUserInterfaceLayoutDirection to detect RTL
    • ๐Ÿ‘‰ Use UIView.effectiveUserInterfaceLayoutDirection to detect RTL on iOS 10 and above. This is recommended approach to detect layout direction taking into account view's semantic content attribute, trait environment and UIApplication layout direction.
    • โšก๏ธ Update Travis to Xcode 11.
  • v1.8.9 Changes

    August 15, 2019

    ๐Ÿš€ Released on 2019-08-16

    โฌ†๏ธ Upgrade to Swift 5
    • โฌ†๏ธ Upgrade project to Swift 5
    • โšก๏ธ Update Pods
    • Apply xcodeproj migration

    โž• Added by Luc Dion in Pull Request #195

  • v1.8.8 Changes

    June 25, 2019

    ๐Ÿš€ Released on 2019-06-25

    โšก๏ธ Update Swift Package Manager support for Xcode 11
    • โšก๏ธ Updated PinLayout to be used with Xcode 11's Swift Package Manager.

    • ๐Ÿ›  Fix Warnings: public' modifier is redundant for instance method declared in a public extension.

  • v1.8.7 Changes

    March 02, 2019

    ๐Ÿš€ Released on 2019-03-02

    โž• Add missing Objective-C API methods
    • wrapContent
    • wrapContentWithPadding:(CGFloat)
    • wrapContentWithInsets:(PEdgeInsets)
    • wrapContentWithType:(WrapType)
    • wrapContentWithType:(WrapType) padding:(CGFloat)
    • wrapContentWithType:(WrapType) insets:(PEdgeInsets)
  • v1.8.6 Changes

    September 29, 2018

    ๐Ÿš€ Released on 2018-09-29

    โšก๏ธ Update support for Swift 4.2

    The PinLayout pod doesn't specify anymore the Swift language version.

    ๐Ÿ‘ PinLayout supports Swift versions:

    • Swift 4.2 / 4.1 / 4.0
    • Swift 3.*

    • โž• Added by Luc Dion in Pull Request #178

  • v1.8.5 Changes

    September 27, 2018

    ๐Ÿš€ Released on 2018-09-27

    Minor internal changes

    โœ‚ Remove sizeToFit() from SizeCalculable protocol. ๐Ÿ“š This change ensure that PinLayout pin.sizeToFit() method behave correctly. As per the iOS documentation, we should not directly override sizeToFit() but rather always only implement sizeThatFits(_:) for auto-sizing needs. This update aim to remove the sizeToFit() requirement in the SizeCalculable protocol.

  • v1.8.4 Changes

    September 27, 2018

    ๐Ÿš€ Released on 2018-09-25

    Minor changes
    • Cleanup .xcodeproj
    • โœ‚ Removed Swiftlint warnings
    • ๐Ÿ›  Fix an issue with PinLayoutSample app related to IntroRTLView example

    • โž• Added by Luc Dion in Pull Request #177

  • v1.8.3 Changes

    August 28, 2018
    โž• Add methods to layout a view between two other views

    โž• Add methods to position a view between two other views, either horizontally or vertically.

    ๐Ÿ†• New Methods:

    horizontallyBetween(:UIView, and: UIView)
    Position the view between the two specified views horizontally. The method layout the view's left and right edges. The order of the reference views is irrelevant.
    Note that the layout will be applied only if there is horizontal space between the specified views.

    horizontallyBetween(:UIView, and: UIView, aligned: VerticalAlign)
    Position the view between the two specified views horizontally and aligned it using the specified VerticalAlign. The view will be aligned related to the first specified reference view. Note that the layout will be applied only if there is horizontal space between the specified views.

    verticallyBetween(:UIView, and: UIView)
    Position the view between the two specified views vertically. The method layout the view's top and bottom edges. The order of the reference views is irrelevant. Note that the layout will be applied only if there is vertical space between the specified views.

    verticallyBetween(:UIView, and: UIView, aligned: HorizontalAlign)
    Position the view between the two specified views vertically and aligned it using the specified HorizontalAlign. The view will be aligned related to the first specified reference view. Note that the layout will be applied only if there is vertical space between the specified views.

    Example:

    ๐Ÿ“„

     view.pin.verticallyBetween(viewA, and: viewB, aligned: .center).marginVertical(10)
    

    ๐Ÿ‘€ See Readme for more information