New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[♻️ REFACTOR] : CloudKit Manager 정리 & 코드 설명 #45
Comments
import Foundation
import CloudKit 우선 시작은
정말 그야말로 기초적인 것들이 들어있는데요, 예를 들어 다음과 같은 녀석들도 들어있습니다. import Accessibility
import CoreGraphics
import DataDetection
import Dispatch
import Foundation // 어라 이미 들어있네요!
import UIKit.DocumentManager
import UIKit.NSAttributedString
import UIKit.NSDataAsset
... 위와 같이 |
다음으로
보통은(모든 경우 그런건 아닙니다) 하나의 앱에는 하나의 container가 할당됩니다. 이 하나의 container에 이 앱을 쓰는 모든 이용자들이 접근하게 됩니다. 이러한 container에는 세 종류의 database가 존재합니다. public, private, shared 이렇게 세 가지죠. 위의 overview에도 나와 있듯이, 앱을 이용하는 모든 유저가 접근할 수 있으려면 public database에 data를 넣으면 됩니다. 현재 저희 팀의 CloudKit Manager는 이 public database 하나만 씁니다만, private, shared 또한 좀 더 공부해서 사용해보고 싶습니다. 이러한 CloudKit으로 만들어진 공간인 container에 있는 database들에 저장되는 형태는 바로 'record'의 형태로 저장됩니다.
iCloud로 올라가고 내려오는 데이터들은 바로 이 'record'와 밀접한 관련이 있습니다. |
https://storm-wholesaler-b52.notion.site/CoreData-CloudKit-Overview-ccb83fbad5ff4d04a143d794467dfdba
등등 제 입장에선 충격적인 정보를 많이 얻었어요. |
작업내용
스크린샷
Reference
The text was updated successfully, but these errors were encountered: