Skip to content

Instantly share code, notes, and snippets.

import Foundation
import UIKit
final class ContentView: UIView {
private lazy var stackView: UIStackView = {
let stackView = UIStackView()
stackView.spacing = 16.0
stackView.distribution = .equalSpacing
stackView.translatesAutoresizingMaskIntoConstraints = false
return stackView