Commit Graph

10 Commits

Author SHA1 Message Date
Alex Türk 4d52cc3768
Compile for visionOS (#777) 2023-10-05 02:30:31 +13:00
Natascha Fadeeva 4ecdc8545f Add test assert to unit test testCanSetLabel. (#625) 2019-11-27 23:28:29 +13:00
Sven Driemecker 892722a933 add-dimensional-edges: add ConstraintItems horizontalEdges, verticalEdges, directionalHorizontalEdges and directionalVerticalEdges as convenience items to express left+right, top+bottom or leading+trailing (#637) 2019-11-27 23:26:09 +13:00
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