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

Added assorted superviewMargins and superviewSafeArea relatable shortcuts #494

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sgtsquiggs
Copy link

Adds relatable methods:

func equalToSuperviewMargins() -> ConstraintMakerEditable
func equalToSuperviewSafeArea() -> ConstraintMakerEditable
func lessThanOrEqualToSuperviewMargins() -> ConstraintMakerEditable
func lessThanOrEqualToSuperviewSafeArea() -> ConstraintMakerEditable
func greaterThanOrEqualToSuperviewMargins() -> ConstraintMakerEditable
func greaterThanOrEqualToSuperviewSafeArea() -> ConstraintMakerEditable

@sgtsquiggs sgtsquiggs force-pushed the feature/superview_margins_and_safearealayout branch from 9b5516e to a93dd3c Compare February 13, 2018 15:37
@MauriceArikoglu
Copy link

@robertjpayne @sgtsquiggs is it possible to have this PR approved and merged? These convenience methods would really improve the overall readability and workflow of SnapKit dependent projects.

@kmcginnes
Copy link

Hi, I just wanted to see if there was a plan to merge these in and get a release out soon-ish? It's been more than a year since this PR was created.

@kmcginnes
Copy link

Possibly related to #459

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

3 participants