Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- rxswift
- map
- Clean Code
- clean architecture
- 리팩토링
- Observable
- 리펙토링
- RxCocoa
- 클린 코드
- 스위프트
- Xcode
- uitableview
- swift documentation
- uiscrollview
- HIG
- tableView
- ios
- SWIFT
- 애니메이션
- MVVM
- Refactoring
- ribs
- Protocol
- swiftUI
- combine
- UICollectionView
- collectionview
- UITextView
- Human interface guide
- 리펙터링
Archives
- Today
- Total
목록StoryboardInstantiable (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 코드로 xib파일을 얻는 Protocol 정의 (StoryboardInstantiable)
아이디어 각 ViewController들은 해당 protocol들을 상속 받아서, Builder에서 해당 ViewController를 초기화 할때 정의된 함수 호출 StoryboardInstaiable 프로토콜 정의 public protocol StoryboardInstantiable { associatedtype ViewControllerType static var defaultFileName: String { get } static func instantiateViewController(_ bundle: Bundle?) -> ViewControllerType } default implementation 클래스의 이름을 얻기 위해 NSStringFromClass() 사용 class 타입을 받아서 그 ..
iOS 응용 (swift)
2021. 7. 11. 01:23