You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
UIViewController의 기본 설정 코드를 Protocol을 이용해 정리 & 코딩 컨벤션을 준수하도록 한다
현재 동작
UIViewController 코드에서 초기 설정 코드들을 현재는 configureUI()에 constraint 설정 코드를 넣고 viewDidLoad()에 초기 설정코드(.backgroundColor, tableView.delegate = self 등)을 같이 넣는 방식
기대 동작
setUpView(), configureUI() 함수를 가지는 프로토콜을 모든 UIViewController에서 채택하게 한다
기능 설명
UIViewController
의 기본 설정 코드를Protocol
을 이용해 정리 & 코딩 컨벤션을 준수하도록 한다현재 동작
UIViewController
코드에서 초기 설정 코드들을 현재는configureUI()
에constraint
설정 코드를 넣고viewDidLoad()
에 초기 설정코드(.backgroundColor
,tableView.delegate = self
등)을 같이 넣는 방식기대 동작
setUpView()
,configureUI()
함수를 가지는 프로토콜을 모든UIViewController
에서 채택하게 한다setUpView()
-tableView.delegate = self
같은 뷰컨트롤러 자체에 관한 설정configureUI()
-addSubView()
와makeConstraints()
3.bindViewModel()
- 데이터 바인딩The text was updated successfully, but these errors were encountered: