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 | 31 |
Tags
- Human interface guide
- 스위프트
- Refactoring
- map
- Xcode
- 클린 코드
- 리펙토링
- collectionview
- swiftUI
- uitableview
- 리팩토링
- 애니메이션
- SWIFT
- clean architecture
- Protocol
- UICollectionView
- Clean Code
- rxswift
- ios
- combine
- swift documentation
- Observable
- ribs
- UITextView
- RxCocoa
- uiscrollview
- 리펙터링
- MVVM
- HIG
- tableView
Archives
- Today
- Total
목록swift 5.10 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] nested protocol 개념 (#Swift 5.10)
nested protocol swift 5.10 아래 버전에서는 아래처럼 protocol을 struct/class/enum/actor/function 하위에 정의가 불가능 swift 5.10 이전에서 Delegate protocol을 만들려고하면 아래처럼 외부에 Delegate를 정의하고, 안에서도 접근할때 fullName으로 접근해야함 (TableView안에 protocol 정의가 가능하면 외부에서는 TableView.Delegate로 접근이 가능하고, 내부에서는 단순히Delegate 이름으로만 접근이 가능) class TableView: UIView { weak var delegate: TableViewDelegate } protocol TableViewDelegate { } swift 5.10부터는..
iOS 응용 (swift)
2024. 1. 24. 01:31