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 DSL experience when working with UIScrollView and other complex views #7

Merged
merged 10 commits into from
Oct 30, 2023

Conversation

Adobels
Copy link
Owner

@Adobels Adobels commented Oct 30, 2023

  • ibSubviews's superview is typed with the parent class, which means it's able to set constraints with a custom UILayoutGuide.
  • Update involvesOwnerView to allow setting constraints between the frame and content of UIScrollView, for example.
  • Add IBView subclass of UIView to avoid overriding init methods in subclasses of UIView.
  • ibAttributes supports all types of syntaxes due to the support of Any? in @NSLayoutConstraintBuilder."
  • Add more unit tests.

@Adobels Adobels changed the title Develop Improve DSL experience when working with UIScrollView and other complex views Oct 30, 2023
@Adobels Adobels merged commit 6eb6653 into main Oct 30, 2023
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.

1 participant