Commit Graph

7 Commits

Author SHA1 Message Date
Josh Converse d482f59648 Adds two new compositions – DirectionalEdges and DirectionalMargins (#595)
* WIP

* Add directional margins

* Whitespace
2019-08-05 17:16:17 +12:00
Josh Converse 04e9c890aa Adds support for NSDirectionalEdgeInsets as an inset constant (#594) 2019-06-11 00:32:33 +12:00
Robert Payne f59340c39b
Revert "[EXC_BAD_ACCESS] Update LayoutConstraint == operator to support iOS 10 and higher changes (#574)" (#593)
This reverts commit bc2b0b9332.
2019-04-28 20:43:09 +12:00
Alexander Belonogov bc2b0b9332 [EXC_BAD_ACCESS] Update LayoutConstraint == operator to support iOS 10 and higher changes (#574)
* @sashabelonogov Update LayoutConstraint == operator to support iOS 10 and higher changes

* Simplify return statement of the LayoutConstraint == operator
2019-04-03 06:28:51 +13:00
Jungwon An ca81e8ece0 Support swift 5.0 (#570)
* Update swift version 5.0

* Remove needless access control

* Fix misused "Available" annotations

* Support @unknown default

* Support swift 5.0 in test code

* Update podspec

* Update travis CI

* Code review by @freak4pc

* Add constraint for Swift version

* Fix build failed
2019-04-03 06:25:22 +13:00
Colin T.A. Gray 15beb52218 Adds 'constraint.isActive = bool' to Constraint (#496)
* delegate identical 'constraint creation' code to 'prepareConstraints'

* adds 'set(isActivated:)' method to call appropriate 'activate/deactivate' based on bool

cleans up about 30 lines of

    if foo { activate }
    else { deactivate }

code in my app

* instead of 'set(isActivated:)', use 'isActive = value'
2018-06-23 23:15:34 +12:00
Linus Unnebäck 01124b9f32 Add Swift Package Manager support (#501) 2018-05-19 16:47:52 +12:00