Commit Graph

4 Commits

Author SHA1 Message Date
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