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
Swift Realm korean
Search
Realm
August 25, 2016
Technology
0
3.3k
Swift Realm korean
Slide for Let'Swift 2016 Korea conference
Realm
August 25, 2016
Tweet
Share
More Decks by Realm
See All by Realm
WWDC 2017 Review
realm
0
2.1k
Xcode shortcuts
realm
0
4.7k
Self Branding with GitHub
realm
0
4.3k
Realm Mobile Platform overview and demo
realm
0
2k
Realm advanced topics and demo
realm
0
2k
Realm introduction Seoul meetup 10
realm
0
2.1k
Stuart Hall: How I got 2.3 Million App Downloads
realm
0
1.9k
James Majors: What the Swiftly Func?
realm
1
4.3k
Simina Pasat: Continuous everything for iOS apps
realm
0
620
Other Decks in Technology
See All in Technology
事業成長の裏側:エンジニア組織と開発生産性の進化 / 20250703 Rinto Ikenoue
shift_evolve
PRO
2
21k
改めてAWS WAFを振り返る~業務で使うためのポイント~
masakiokuda
2
250
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
340
ビギナーであり続ける/beginning
ikuodanaka
3
750
怖くない!はじめてのClaude Code
shinya337
0
390
PO初心者が考えた ”POらしさ”
nb_rady
0
210
ビズリーチにおけるリアーキテクティング実践事例 / JJUG CCC 2025 Spring
visional_engineering_and_design
1
120
KiCadでPad on Viaの基板作ってみた
iotengineer22
0
300
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
6
2.4k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.7k
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
7
5.2k
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
230
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
Statistics for Hackers
jakevdp
799
220k
Documentation Writing (for coders)
carmenintech
72
4.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
A Tale of Four Properties
chriscoyier
160
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
300
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
KATA
mclloyd
30
14k
Rails Girls Zürich Keynote
gr2m
95
14k
Transcript
ݽ߄ੌ ؘఠ߬झ CodeLab
Minwoo Park߅ @tebica *OD
None
Core Data ॳࣁਃ?
There is no such thing as a free lunch ..
ॳӝ औҊ زࣘبо ࡅܰҊ নೠ ӝמਸ ઁҕೞҊ য়ࣗझݶࢲ ޖܐੋ
Swift ݽ߄ੌ ؘఠ߬झ
Swift ?
졶짢핊섾핂쩮핂큲42-JUF$PSF%BUB읊샎 찮읆콛솒 쭎믾쁳 퀺풂칺푷 [FSPDPQZ 짆묻킲읺쨆읺큲펓 짆묻 셂잖 훊 솓핊
폏묻 묻 훟묻 핊쫆 폲콚큲 줂욚 IUUQSFBMNJPLS
Mobile DB World
SQLite ୌೞ Mobile DB World
2014֙ 7ਘ 15ੌ ҕѐ
2 ֙ դ Ә, न Realmਸ ॳҊ
!
*T
None
Realm [relm] ۬ http://endic.naver.com/enkrEntry.nhn? sLn=kr&entryId=57e330e64f644ffda62f545eb1ed4bbe
Realm is not an ORM on top of SQLite Realm
has own C++ core Core Data GreenDAO ORM lite ActiveAndroid are Sqlite based
C++ core: cross platform
Why Realm?
1. Fast 2. Easy to use 3. Features
Fast
http://static.realm.io/downloads/java/android-benchmark.zip
None
memory mapped file Zero-copy
Traditional ORM must copy 1. Data on disk 2. Read
from disk 3. Copy raw data into deserialised intermediate in-memory representation (allocates memory) 4. Copy intermediate representation into language-level in-memory object (allocates memory) 5. Return final object from property access
Realm skips the copy Whole file is memory-mapped & same
format on disk as in-memory 1. Calculate offset of data to read 2. Read from mmapped file 3. Return raw value from property access
Results ز সؘ
Easy to use
рѾೠ ٘
নೠ ௪ܻ + Chaining ௪ܻ
Sorting
Relation
Blocking write Non-blocking read Thread safety
Features for mobile developers
In-memory Realm
AES-256+SHA2 by 64-byte encryption key Encryption
ݣ౭ Threadীࢲ Realm ࢎਊೞӝ ˖펺얺큲엖슪읊멆맧픎3FBMN핆큲큲읊뫃퓮쿦펔삲 ˖팒줂쌚빦믆킪헞픦큲뺓컅섾핂읊짦몮 삲읆큲엖슪펞컪섾핂많쪎몋쇦펖쁢힎읊먿헣푢펔핂 캏핊뫎쇪섾핂읊쫊쿦핖킃삖삲
Realm backgroundীࢲ সؘ غਸٸ UI Thread ীࢲ ঌܿ ߉Ҋ रযਃ!
& fine-grained notification Notification
Browser
CSV Converter
String & Data upto 16MB
None
.JHSBUJPO %FCVHHJOH .VMUJQMF%#
And..
https://github.com/realm/ Open source
Issue on Github
PR on Github
Work with community
Growing fast
None
դ 1֙زউ Realmীѱ ޖटੌ ա? Fine-Grained Notifications Nanosecond Dates Optional
Properties Swift 2 Swift Playgrounds + REPL Live, Queryable Inverse Relationships Key-Value Observation Predicate Subqueries Results Background Updates Encrypted Realm Debugging ObjC Nullability & Generics tvOS watchOS Improved KVC for Collections Frozen Enumeration Schema Subsets Better Carthage Support RealmCollectionType Realm.Configuration Query Improvements Performance Improvements Memory Overhead Improvements Error Handling Improvements Interprocess Improvements Migrations Class Renaming Skipping Migrations
Already compatible with Swift 3 & Xcode 8 https://github.com/realm/realm-cocoa/issues/3796
Facebook Community
Realm, Swift झ
• Realm ೠҴ ಕझ࠘ ಕ: facebook.com/realmkr • Realm ೠҴ ಕझ࠘
Ӓܛ: facebook.com/groups/realmkr • Realm ೠҴ ਤఠ: twitter.com/realmkorea • GitHub: github.com/realm • StackOverflow: stackoverflow.com/questions/tagged/realm • Email:
[email protected]
묻펂 &OHMJTITVQQPSU Strong support
None
Want to be the default choice for iOS/Android
Swift ۽ ॻৈҊ Swift ܳ ਗೞҊח Swift ֎౭࠳ ؘఠ߬झ ޛۿ
Objective-C ب ਗ೧ਃ~
Made by great developers
For great developers
ݽ߄ੌ ѐߊ ҕ ब
Thank you Minwoo Park
[email protected]
www.realm.io/kr @realmkorea