SnapKit/Tests
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
..
SnapKitTests Adds 'constraint.isActive = bool' to Constraint (#496) 2018-06-23 23:15:34 +12:00