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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
120
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
440
TipKitTips
ktcryomm
0
170
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
2
370
SourceGeneratorのマーカー属性問題について
htkym
0
200
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
160
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
750
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
400
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
130
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
590
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
340
Featured
See All Featured
Fireside Chat
paigeccino
42
3.8k
Optimizing for Happiness
mojombo
378
71k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
RailsConf 2023
tenderlove
30
1.4k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
From π to Pie charts
rasagy
0
150
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
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