Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Realm
Search
Nanang Rafsanjani
December 17, 2015
Programming
0
40
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
740
Other Decks in Programming
See All in Programming
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
290
Building AI with AI
inesmontani
PRO
1
460
Evolving NEWT’s TypeScript Backend for the AI-Driven Era
xpromx
0
250
FluorTracer / RayTracingCamp11
kugimasa
0
170
[SF Ruby Conf 2025] Rails X
palkan
0
400
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
1
320
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
130
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
120
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
4
240
しっかり学ぶ java.lang.*
nagise
1
470
JJUG CCC 2025 Fall Javaコミュニティの歩き方 〜参加から貢献まで、すべて教えます〜
takasyou
0
890
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
6.6k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Building Adaptive Systems
keathley
44
2.8k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
690
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
119
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Done Done
chrislema
186
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Into the Great Unknown - MozCon
thekraken
40
2.2k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
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