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
- Observable
- clean architecture
- collectionview
- 클린 코드
- RxCocoa
- Human interface guide
- HIG
- Xcode
- ios
- UITextView
- 애니메이션
- uiscrollview
- map
- tableView
- Refactoring
- UICollectionView
- SWIFT
- combine
- Protocol
- 리팩토링
- swift documentation
- 리펙토링
- MVVM
- 리펙터링
- Clean Code
- uitableview
- rxswift
- ribs
- swiftUI
- 스위프트
Archives
- Today
- Total
목록unarchive (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] xib 사용원리 (archive, unarchive), encode, decode, NSCoder
xib 파일 xib 개념 Xib가 사용되는 원리 archive(아카이빙): xib 모델 객체를 저장하기 위해서, 객체의 프로퍼티를 기록하고 파일 시스템에 저장하는 작업 NSCoder에 있는 encoder를 이용해서 모든 프로퍼티를 인코딩 unarchive(언아카이빙): archive한 데이터로부터 객체를 생성 NSCoder에 있는 decoder를 이용해서 archive된 data를 객체로 생성 NSCoding안에 archive, unarchive하는 함수 존재 UIView는 NSCoding을 준수하고 있는 상태 encode는 시스템에서 자동으로 해주는 형식이므로 따로 함수 존재 x decoder는 아래와 같이 존재 사용되는 과정
iOS 기본 (swift)
2021. 5. 19. 16:29