Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve constrant methods #97

Merged
merged 1 commit into from
Jan 27, 2017
Merged

Improve constrant methods #97

merged 1 commit into from
Jan 27, 2017

Conversation

vadymmarkov
Copy link
Contributor

Ok, the last time I hope 😄

  1. Xcode wasn't happy with variadic vars when it comes to indentation, I think this should work:
Constraint.on(
      imageView.topAnchor.constraint(equalTo: view.topAnchor),
)
  1. Add optional insets when you want to pin edges.

@zenangst zenangst merged commit 40bf687 into master Jan 27, 2017
@zenangst zenangst deleted the improve/constrants-even-more branch January 27, 2017 12:26
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.

None yet

2 participants