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
- Refactoring
- map
- Protocol
- uitableview
- 애니메이션
- collectionview
- tableView
- rxswift
- 리펙터링
- 클린 코드
- UICollectionView
- Clean Code
- HIG
- Xcode
- ios
- swiftUI
- 리펙토링
- clean architecture
- RxCocoa
- Observable
- swift documentation
- SWIFT
- 리팩토링
- Human interface guide
- ribs
- UITextView
- 스위프트
- uiscrollview
- MVVM
- combine
Archives
- Today
- Total
목록lazy property (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] property 구분 방법 (stored property, computed property, lazy property)
Stored property vs Computed property stored property는 메모리를 먼저 정해진 후 대입하는 형태이므로, '=' 기호가 존재 computed property는 계산 후 메모리 공간 정해짐 '='기호가 존재하지 않음 class Sample { public let config: String = { return "sample" }() public let config2: String = { return "sample" } public let config3: String { return "sample" } public lazy var config4: String = { return "sample" }() public func config5() -> String { return..
iOS 기본 (swift)
2021. 2. 25. 21:26