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
- Clean Code
- MVVM
- tableView
- Refactoring
- Protocol
- 리팩토링
- rxswift
- ios
- Xcode
- 리펙터링
- UICollectionView
- map
- UITextView
- clean architecture
- RxCocoa
- SWIFT
- swift documentation
- 클린 코드
- 스위프트
- Human interface guide
- uitableview
- swiftUI
- Observable
- 리펙토링
- 애니메이션
- HIG
- collectionview
- combine
- uiscrollview
- ribs
Archives
- Today
- Total
목록super.init (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 초기화 사용 주의(super.init 호출 타이밍)
super.init 호출 해당 클래스의 내부 property를 모두 초기화 후 super.init을 호출해야 하며, super.init호출 후에만 self.로 함수 호출이 가능 super.init 호출 타이밍 해당 클래스 내부에 property를 초기화 하는 경우 super.init 호출 전에 해당 클래스 내부에 property를 모두 초기화 해당 클래스 내부에서 self.로 함수를 호출하는 경우 super.init 후에 self.호출 init과 내부 property 초기화 주의 사항 init함수 블럭에서 초기화를 하지 않고, 함수를 호출하여 초기화하면 컴파일 에러 발생 self.참조는 super.init 호출 후에
iOS 기본 (swift)
2021. 6. 18. 00:52