Skip to content

Conversation

@kitwtnb
Copy link

@kitwtnb kitwtnb commented Aug 17, 2021

Before

let constraint: Constraint? = view.leadingToSuperview()

...

if let c = constraint {
    Constraint.deactivate([c])
}

After

let constraint: Constraint? = view.leadingToSuperview()

...

constraint?.deactivate()

@paulocoutinhox
Copy link

merge merge merge +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants