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

Set Layout properties in order of definition #364

Merged
merged 1 commit into from
Mar 2, 2024
Merged

Conversation

tinder-cfuller
Copy link
Collaborator

The layout properties are defined in this order:

var items: [String: LayoutItem] = [:]
var constraints: [NSLayoutConstraint] = []

So within the addItems() method, we now set items before constraints.

@tinder-cfuller tinder-cfuller merged commit fbd8595 into main Mar 2, 2024
2 checks passed
@tinder-cfuller tinder-cfuller deleted the constraints branch March 2, 2024 16:08
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.

3 participants