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
- Archive
- SwiftUI
- Git
- IOS
- view
- rxswift
- Session
- Apple
- Code
- 개발자
- appstore
- darkmode
- UIButton
- 한글
- stack
- Notification
- JPA
- 웹뷰
- Realm
- Xcode
- github
- Firebase
- mac
- error
- window
- FLUTTER
- Python
- MacOS
- iOS16
- Swift
Archives
- Today
- Total
목록didFinishLaunchingWithOptions (1)
EEYatHo 앱 깎는 이야기
Swift ) NSMutableDictionary vs NSDictionary - EEYatHo iOS
차이점 NSMutableDictionary 수정, 삭제, 삽입 가능. NSDictionary 수정, 삭제, 삽입 불가능. 그런데 막상 코드를 보면, NSDictionary 에 .setValue(, forKey: ) 함수가 존재한다. 그래서 실제로 해보았는데, 오류가 발생한다. 실행 코드. let d: NSDictionary = NSDictionary(object: "object", forKey: "key" as NSCopying) d.setValue("value", forKey: "key2") 오류. Thread 1: "[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key key2." 반면, NSMuta..
iOS, Swift
2021. 8. 11. 17:31