"아래 모든 내용은 애플 공식 문서를 참고하여 정리 및 구현한 내용입니다."
한 개의 장치에서 데이터를 유지/캐시하거나, CloudKit을 통해 여러 장치에서
데이터를 동기화할 수 있도록 하는 프레임워크
Core Data를 사용하면, 오프라인에서 어플리케이션의 영구적인 데이터를 저장하고
일시적인 데이터를 캐시할 수 있습니다.
한 개의 iCloud 계정을 사용하는 다수의 기기에 데이터를 동기화하기 위해,
Core Data는 자동으로 CloudKit 컨테이너에 미러링합니다.
Core Data의 Data Model editor을 통해, 데이터의 타입과 관계를 정의하고,
정의된 각각의 클래스를 생성합니다.
Core Data는 저장소에 데이터를 맵핑하는 세부 과정을 추상화합니다.
이는 Swift, Obj-C에서 데이터 베이스를 직접적으로 관리하지 않고,
쉽게 데이터를 저장하도록 해줍니다.
Core Data의 뒤로가기(undo) 관리자는 데이터 변화를 추적하고,
개별의 데이터를 전체적으로 또는 그룹별로 롤백할 수 있습니다.
이 기능은 앱에서 redo, undo 기능을 쉽게 추가하도록 도와줍니다.