TabPickerViewController: Refactor to not reference tab controller directly.

This commit is contained in:
James Magahern
2022-08-05 15:13:37 -07:00
parent ace7917080
commit 1db6cf54a9
7 changed files with 181 additions and 112 deletions

View File

@@ -0,0 +1,20 @@
//
// UIView+Utils.swift
// App
//
// Created by James Magahern on 8/5/22.
//
import UIKit
protocol Conf { }
extension Conf {
@discardableResult
func conf(_ block: (Self) -> Void) -> Self {
block(self)
return self
}
}
extension UIView: Conf {}