Created
March 12, 2022 03:33
-
-
Save aaronlab/b7036074be9e96090d89232e4c2f0cc9 to your computer and use it in GitHub Desktop.
BaseView.swift
This file contains hidden or 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
// | |
// BaseView.swift | |
// | |
// Created by Aaron Lee on 2022/03/10. | |
// | |
import SnapKit | |
import Then | |
import UIKit | |
class BaseView: UIView { | |
// MARK: - Public Properties | |
// MARK: - Init | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
configureView() | |
layoutView() | |
} | |
required init?(coder: NSCoder) { | |
super.init(coder: coder) | |
configureView() | |
layoutView() | |
} | |
func configureView() {} | |
func layoutView() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment