Skip to content

Instantly share code, notes, and snippets.

View maxhand's full-sized avatar

Max Handelman maxhand

View GitHub Profile
@maxhand
maxhand / tinting.swift
Created September 28, 2024 18:09
App Tint Settings
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
import UIKit
class BackgroundView: UIView {
private let containedView = UIStackView()
private var buttonAction: (() -> ())?
override init(frame: CGRect) {
super.init(frame: frame)