Last active
March 12, 2022 03:36
-
-
Save aaronlab/139541999a71300912dac89b50d32a44 to your computer and use it in GitHub Desktop.
BaseViewController.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
// | |
// BaseViewController.swift | |
// | |
// Created by Aaron Lee on 2022/03/10. | |
// | |
import RxCocoa | |
import RxGesture | |
import RxSwift | |
import SnapKit | |
import Then | |
import UIKit | |
class BaseViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
configureView() | |
layoutView() | |
bindRx() | |
} | |
func configureView() {} | |
func layoutView() {} | |
func bindRx() { | |
bindDependency() | |
bindInput() | |
bindOutput() | |
} | |
func bindDependency() {} | |
func bindInput() {} | |
func bindOutput() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment