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
Nanang Rafsanjani
December 17, 2015
Programming
45
0
Share
Introduction to Realm
Basic introduction about Realm
Nanang Rafsanjani
December 17, 2015
More Decks by Nanang Rafsanjani
See All by Nanang Rafsanjani
iOS Architecture & Pattern
jukiginanjar
0
46
Swift - Protocol oriented programming
jukiginanjar
0
760
Other Decks in Programming
See All in Programming
Coding as Prompting Since 2025
ragingwind
0
840
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
120
AWS re:Invent 2025の少し振り返り + DevOps AgentとBacklogを連携させてみた
satoshi256kbyte
3
160
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
3k
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
460
ルールルルルルRubyの中身の予備知識 ── RubyKaigiの前に予習しなイカ?
ydah
1
190
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
260
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
790
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
140
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
370
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
400
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Six Lessons from altMBA
skipperchong
29
4.2k
The Pragmatic Product Professional
lauravandoore
37
7.2k
The Curious Case for Waylosing
cassininazir
0
310
Designing Powerful Visuals for Engaging Learning
tmiket
1
350
Practical Orchestrator
shlominoach
191
11k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
320
Fireside Chat
paigeccino
42
3.9k
How to build a perfect <img>
jonoalderson
1
5.4k
How to Talk to Developers About Accessibility
jct
2
180
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
230
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