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
- swift documentation
- collectionview
- MVVM
- ribs
- HIG
- Xcode
- Human interface guide
- 스위프트
- Refactoring
- Protocol
- SWIFT
- uitableview
- RxCocoa
- Observable
- UITextView
- combine
- ios
- UICollectionView
- 리펙토링
- map
- swiftUI
- uiscrollview
- tableView
- Clean Code
- 리펙터링
- clean architecture
Archives
- Today
- Total
목록extension (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] stored property(저장 프로퍼티)와 computed property(계산 프로퍼티)
개념 차이 stored property: 값을 메모리에 저장하는 용도 computed property: 이 자체는 값을 메모리에 저장해놓지 않고 필요할때 이미 메모리에 저장된 값(stored property)을 계산하여 get, set 하는 용도 computed proeprty가 stored property에 의존 '=' 기호로 값을 받으면 stored property, '='기호가 없으면 computed property stored property 기본형 let value = 3 주의: lazy var도 stored property임을 조심 (computed property가 아님) computed property는 이미 만들어진 stored property를가지고 get, set을 하지만 lazy v..
iOS 기본 (swift)
2021. 1. 13. 22:28