Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introduction to Realm
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Nanang Rafsanjani
December 17, 2015
Programming
50
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
48
Swift - Protocol oriented programming
jukiginanjar
0
770
Other Decks in Programming
See All in Programming
App Intentsのビルドプロセスを支える技術
kntkymt
0
210
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
590
AIエージェント時代のコードレビューを設計する
nogu66
6
2.6k
Foundry Localでエージェント開発
seosoft
0
170
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
200
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
520
Building an Out-of-Order CPU
latte72
1
750
不幸な GC
chencmd
0
900
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
490
Webの地図
yosuke_furukawa
PRO
6
4k
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
Featured
See All Featured
Design in an AI World
tapps
1
310
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
Test your architecture with Archunit
thirion
2
2.4k
Ethics towards AI in product and experience design
skipperchong
2
370
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
KATA
mclloyd
PRO
35
15k
Documentation Writing (for coders)
carmenintech
77
5.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Heart Work Chapter 1 - Part 1
lfama
PRO
9
36k
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