Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Modern Core Data
Search
Elvis Nuñez
December 10, 2016
Technology
0
47
Modern Core Data
Slides for
https://www.meetup.com/Apple-Developers-Club-Ahmedabad/events/235818880/
Elvis Nuñez
December 10, 2016
Tweet
Share
More Decks by Elvis Nuñez
See All by Elvis Nuñez
Building a thriving apps culture
3lvis
0
110
Make your first iPhone app Workshop
3lvis
0
27
AR, ARKit and Meeting Room Finder
3lvis
0
110
iOS at FINN
3lvis
0
49
Slack meets Hyper
3lvis
0
71
Other Decks in Technology
See All in Technology
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
web-application-security
matsuihidetoshi
0
170
JSON攻略法.pdf
miyakemito
8
5.1k
本当のAWS基礎
toru_kubota
0
530
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
300
MapLibreとAmazon Location Service
dayjournal
1
160
require(ESM)とECMAScript仕様
uhyo
3
780
推しは推せるときに推せ! プロダクトにフィードバックしていこう
nakasho
0
320
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
370
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
5
540
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
930
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Automating Front-end Workflow
addyosmani
1356
200k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Navigating Team Friction
lara
178
13k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Optimising Largest Contentful Paint
csswizardry
8
2.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
Transcript
Modern Core Data Elvis Nuñez @3lvis
Agenda Core Concepts Sync Demo
None
Core Concepts
Core Data Modeler
Core Data Modeler
NSManagedObject The base of all Core Data model objects. Not
thread safe. Can be generated by Xcode.
NSManagedObject import CoreData @objc(User) class User: NSManagedObject { @NSManaged public
var id: Int32 @NSManaged public var name: String? @NSManaged public var username: String? @NSManaged public var email: String? @NSManaged public var phone: String? @NSManaged public var website: String? }
NSPersistentContainer The modern Core Data Stack, configures and abstracts the
required objects to use Core Data. - NSManagedObjectModel - NSPersistentStoreCoordinator - NSManagedObjectContext
Sync
Sync [ { "id": 1, "name": "Leanne Graham", "username": "Bret",
"email": "
[email protected]
", "phone": "1-770-736-8031 x56442", "website": "hildegard.org" } ]
Demo
End Elvis Nuñez @3lvis https://github.com/SyncDB/SimpleDemo https://github.com/SyncDB/Sync