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
Introduction to Realm
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Nanang Rafsanjani
December 17, 2015
Programming
0
42
Introduction to Realm
Basic introduction about Realm
Nanang Rafsanjani
December 17, 2015
Tweet
Share
More Decks by Nanang Rafsanjani
See All by Nanang Rafsanjani
iOS Architecture & Pattern
jukiginanjar
0
45
Swift - Protocol oriented programming
jukiginanjar
0
750
Other Decks in Programming
See All in Programming
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
250
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.3k
Ruby and LLM Ecosystem 2nd
koic
1
820
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
340
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
550
OTP を自動で入力する裏技
megabitsenmzq
0
110
Claude Code Skill入門
mayahoney
0
390
Fundamentals of Software Engineering In the Age of AI
therealdanvega
1
260
Windows on Ryzen and I
seosoft
0
290
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
150
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
950
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
550
Featured
See All Featured
Leo the Paperboy
mayatellez
4
1.5k
Ethics towards AI in product and experience design
skipperchong
2
220
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
So, you think you're a good person
axbom
PRO
2
2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
970
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
53k
HDC tutorial
michielstock
1
540
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Being A Developer After 40
akosma
91
590k
Transcript
Introduction to Realm
Available Solutions in iOS • Serialization (JSON/PList) • SQLite •
Core Data
Core Data • It’s not easy to fully understand the
API • Lots of boilerplate code • Passing data between threads is tricky
SQLite • Difficult (c, query language) • Query result need
to mapped to models • Query are very fast • Many third party library
Serialization • Acceptable in small class • Not smart •
Potentially slow • Not thread-safe
Realm • An open source (ish) database framework • A
complete replacement for Core Data/ SQLite • Implemented from scratch • Fast, simple API, thread safe • Cross platform (Mac, iOS, Android) • Free
Realm iOS Benchmark
Realm iOS Benchmark
Realm iOS Benchmark
Basic Realm Object
Realm Configuration
Create Object
Create Object
Adding Object
Update Object
Delete Object
Query • Queries return RLMResults instance • Data is only
read when the properties are accesssed • Results to a query are not copies • The most basic method for retrieving objects
Filter NSPredicate cheatsheet
Sorting
Threading
The End