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
- rxswift
- 애니메이션
- uitableview
- clean architecture
- collectionview
- swift documentation
- map
- MVVM
- Refactoring
- 스위프트
- uiscrollview
- 리팩토링
- Observable
- Xcode
- combine
- RxCocoa
- Protocol
- Clean Code
- tableView
- ribs
- ios
- 클린 코드
- SWIFT
- 리펙토링
- HIG
- UICollectionView
- 리펙터링
- UITextView
- swiftUI
- Human interface guide
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