20220129 iOS 일일 개발일지 === ###### tags: `develop` sizeSelectView refactoring sizeListViewController -> sizeSelectViewController ```swift= protocol SizeSelectDelegate { func didSelectSize() } ``` 클린 아키텍쳐를 활용했을 때, collectionView, tableView를 활용한 뷰 구성이 이뤄질 경우, List 처리 방법에 관한 논의 --- https://yoojin99.github.io/app/%ED%81%B4%EB%A6%B0-%EC%95%84%ED%82%A4%ED%85%8D%EC%B2%98/ URLSession & Result에 관련된 내용 --- https://swiftstudent.com/2020-04-14-urlsession-and-result/ - URL Session 공통화 방법 깔끔하게 코드 작성하기 https://learn-hyeoni.tistory.com/68 ```swift= class BaseView: UIView { override init(frame: CGRect) { super.init(frame: frame) applyViewSettings() } @available(*, unavailable) required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } } extension BaseView { func buildHierarchy() { } func setupConstraints() { } func viewConfigure() { } func applyViewSettings() { buildHierarchy() setupConstraints() viewConfigure() } } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up