This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class BackgroundView: UIView { | |
private let containedView = UIStackView() | |
private var buttonAction: (() -> ())? | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
enum AccentViewSection: Hashable, CaseIterable { case main } | |
enum AppAccent: Int, Hashable, CaseIterable { | |
case blue = 0 | |
case orange = 1 | |
case red = 2 | |
case purple = 3 | |