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
- Refactoring
- 리팩토링
- 애니메이션
- uiscrollview
- combine
- ribs
- Xcode
- HIG
- clean architecture
- uitableview
- MVVM
- swiftUI
- 리펙토링
- SWIFT
- Protocol
- UICollectionView
- tableView
- collectionview
- RxCocoa
- 리펙터링
- map
- Human interface guide
- Observable
- UITextView
- Clean Code
- swift documentation
- 클린 코드
- rxswift
- ios
- 스위프트
Archives
- Today
- Total
목록2022/12/08 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - Swift] objc_getAssociatedObject, objc_setAssociatedObject 사용 방법
objc_setAssociatedObject, objc_getAssociatedObject key-value 쌍으로 특정 값을 저장하여 사용 extension에서는 stored property를 지정하지 못하지만, 이 AssociatedObject를 사용하면 stored property처럼 따로 프로퍼티를 추가하고 접근도 가능 AssociatedObject 주요 메소드 객체를 저장하는 메소드 // https://developer.apple.com/documentation/objectivec/1418509-objc_setassociatedobject func objc_setAssociatedObject( _ object: Any, _ key: UnsafeRawPointer, _ value: Any?, _ ..
iOS 응용 (swift)
2022. 12. 8. 23:08