Skip to content

Set Layout properties in order of definition#364

Merged
tinder-cfuller merged 1 commit intomainfrom
constraints
Mar 2, 2024
Merged

Set Layout properties in order of definition#364
tinder-cfuller merged 1 commit intomainfrom
constraints

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
@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