Skip to content

Instantly share code, notes, and snippets.

@DenTelezhkin
Created March 27, 2019 10:36
Show Gist options
  • Save DenTelezhkin/9bfb99ae8a65e9ac3621fbc4fbe594c0 to your computer and use it in GitHub Desktop.
Save DenTelezhkin/9bfb99ae8a65e9ac3621fbc4fbe594c0 to your computer and use it in GitHub Desktop.
StackView example for MLSDev blog article
let stacks = [UserProfileStatsView(), SwitchCompanyView(), SendInvitationToCompanyView(), LogoutButtonView()]
stackView.axis = .Vertical
stacks.forEach {
stackView.addArrangedSubview($0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment