Skip to content

Releases: layoutBox/PinLayout

Update Cocoa podspec to support Swift 5.1.1

Choose a tag to compare

@lucdion lucdion released this 31 Oct 21:50
930593a
  • Removed swift_version from the podspec. PinLayout supports all recent Swift versions, don't need to specify them individually.

Set Cocoapod swift versions to : 4.2, 5.0, 5.1

Choose a tag to compare

@lucdion lucdion released this 07 Oct 12:52

Update podspec to specify explicitly supported swift versions: ['4.2', '5.0', '5.1']

Improve method that validates `width` and `height` values

Choose a tag to compare

@lucdion lucdion released this 03 Oct 12:44
  • Method that set the width and height now validates more their parameter, by checking NaN and Infinity values.

Usage `UIView.effectiveUserInterfaceLayoutDirection` to detect RTL

Choose a tag to compare

@lucdion lucdion released this 16 Sep 20:23
  • 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.

Upgrade to Swift 5

Choose a tag to compare

@lucdion lucdion released this 15 Aug 15:20
  • Upgrade project to Swift 5
  • Update Pods
  • Apply xcodeproj migration

Added by Luc Dion in Pull Request #195

Update Swift Package Manager support for Xcode 11

Choose a tag to compare

@lucdion lucdion released this 25 Jun 15:44
  • 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.

Add missing Objective-C API methods

Choose a tag to compare

@lucdion lucdion released this 02 Mar 14:04
  • wrapContent
  • wrapContentWithPadding:(CGFloat)
  • wrapContentWithInsets:(PEdgeInsets)
  • wrapContentWithType:(WrapType)
  • wrapContentWithType:(WrapType) padding:(CGFloat)
  • wrapContentWithType:(WrapType) insets:(PEdgeInsets)

Update support for Swift 4.2

Choose a tag to compare

@lucdion lucdion released this 29 Sep 12:25

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

Minor internal changes

Choose a tag to compare

@lucdion lucdion released this 27 Sep 11:24

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.

Minor changes

Choose a tag to compare

@lucdion lucdion released this 27 Sep 11:23
  • Cleanup .xcodeproj

  • Removed Swiftlint warnings

  • Fix an issue with PinLayoutSample app related to IntroRTLView example

  • Added by Luc Dion in Pull Request #177