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
Realm を正しく使うには
Search
numa08
September 29, 2015
Technology
1.7k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Realm を正しく使うには
Android で Realm を使う際の気をつける点とかを共有@ #realm_jp
numa08
September 29, 2015
More Decks by numa08
See All by numa08
完全ローカル完結のLT文字起し、要約システム
numa08
0
79
Claude Code の /goal コマンドの話
numa08
0
16
FT8の話
numa08
0
29
What/Why/How MVVM on iOS
numa08
3
840
facilio
numa08
0
160
Kotlin でテストを書く
numa08
0
430
Android Testing Bootcamp 4
numa08
0
580
チームの進捗をちゃんと可視化したい話
numa08
1
1.1k
Realmを正しく使うには
numa08
2
440
Other Decks in Technology
See All in Technology
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
470
Deep Data Security 機能解説
oracle4engineer
PRO
2
770
夫婦で子育てするための育児標準化
codmoninc
PRO
0
150
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
7
2.5k
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
170
並行性の問題を防げ!実践トランザクション入門
occhi
0
280
Essential architectural thinking (revised edition)
ufried
0
110
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
130
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
1
800
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
600
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
230
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How to build a perfect <img>
jonoalderson
1
6.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Building Adaptive Systems
keathley
44
3.2k
Mobile First: as difficult as doing things right
swwweet
225
10k
Optimizing for Happiness
mojombo
378
71k
How to Talk to Developers About Accessibility
jct
2
570
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Transcript
3FBMNΛ ਖ਼͘͠͏ʹ "OESPJEฤ !OVNB SFBMN@KQ
!OVNB IUUQOVNBIBUFCMPKQ
DPWFMMJOF --$ GFBUIFSܰշͳUXJUUFSΫϥΠΞϯτ
3FBMNΛਖ਼͘͠͏ʹ 3FBMNߴͳ%#.4Ͱ͋Δ 3FBMNଞͷ%#.4ͱൺֱͯ͠ѹతʹߴͰ͋Δɻ ͔͠͠ɺଞͷ%#.4ʹແ੍͍ҙ͕͋Δɻ εϨουؒ௨৴ɺίϯϙʔωϯτؒ௨৴ɺςετFUDʜ "OESPJEͰ3FBMNΛͬͨͷհ UXJUUFSΫϥΠΞϯτGFBUIFSͰ3FBMNΛͬͨɻ πΠʔτͷಡΈࠐΈɺදࣔؔ࿈ʹ͍ͭͯϋϚͬͨΛհɻ
ΞδΣϯμ ઃܭ w ࠓͷઃܭ w ੲͷઃܭ w ੲͷઃܭͷࣦഊ ςετ
w ςετͷ5JQT
ࠓͷઃܭ
ੲͷઃܭ
πΠʔτͷཧΦϒδΣΫτ ࠓ ੲ class Tweet extends RealmObject { String
text; Date createAt; String userName; public Tweet(){} public Tweet(String text, Date createAt, String userName) { this.text = text; this.createAt = createAt; this.userName = userName; } } class Tweet implements Content { String text; Date createAt; String userName; // RealmTweet extends RealmObject public Tweet(RealmTweet obj){ this.text = obj.getText(); this.createAt = obj.getCreateAt(); this.userName = obj.getUserName(); } }
ੲͷઃܭ ޓੑ͕ཉ͔ͬͨ͠ 3FBMNҎ֎ͷ%#.403.ͷ࠾༻ݕ౼͍ͯͨ͠ɻ ͍ͭͰΓ͑ΒΕΔΑ͏ʹɺޓੑΛҙ͍ࣝͯͨ͠ɻ
ੲͷઃܭͷμϝͳ ϝϞϦ͍͗͢ ͔ͳΓେྔͷΦϒδΣΫτΛϝϞϦ্ʹల։͢ΔͷͰɺ ͕ٻΊΒΕͨɻ 3FBMNͷϝϦοτΛ׆͔ͤͯͳ͍ ಠࣗΦϒδΣΫτͷల։ʹΑͬͯɺಈ࡞͕͘ͳͬͨɻ Ԇϩʔυ($Λར༻͠ͳ͍ͷͰɺແҙຯͳϝϞϦফඅʹܨ͕ͬͨɻ ޓੑΛࣺͯͯ3FBMNΛ͏ํࣜʹํస
εϨουؒ௨৴ ੲ ࠓ ಡΈࠐΈ όοΫάϥϯυͰ࣮ߦ ॻ͖ࠐΈ όοΫάϥϯυͰ࣮ߦ εϨουؒ௨৴ ಠࣗΦϒδΣΫτʹల։
ಡΈࠐΈ 6*εϨουͰ࣮ߦ ॻ͖ࠐΈ όοΫάϥϯυͰ࣮ߦ εϨουؒ௨৴ ࣝผࢠɺΫΤϦΛΓͱΓɻ ࣍ͷεϨουͰΫΤϦΛ࣮ߦɻ
ίϯϙʔωϯτؒ௨৴ ੲ ࠓ ίϯϙʔωϯτؒ௨৴ ಠࣗͷ1BSDFMBCMFͳΦϒδΣΫτʹ ల։ ίϯϙʔωϯτؒ௨৴ ࣝผࢠɺΫΤϦΛΓͱΓɻ ࣍ͷίϯϙʔωϯτͰΫΤϦ࣮ߦɻ
ςετͷ ઃܭ w +7.Ͱςετ͕Ͱ͖ͳ͍ w ϑΝΠϧআ࣌ͷҙࣄ߲ w 6*εϨουςετͷҙࣄ߲ εϨουؒ௨৴ɺίϯϙʔωϯτؒ௨৴ͷ੍ݶ͋ͬͯɺςετ࣮ߦҙ͕ඞཁ
ͱͳΔɻ
ςετͷ +7.্Ͱςετ͕Ͱ͖ͳ͍ +7.্ͷςετͰωΟςΟϒϥΠϒϥϦ͕ಡΈࠐΊͳ͍ͷͰɺ3FBMNΠϯελϯ εΞΫηεͰ͖ͳ͍ɻ *OTUSVNFOUBUJPO5FTUͰ͋Δඞཁ͕͋Δɻ ิɹ 3FBMN0CKFDUͷαϒΫϥεΛΠϯελϯεԽ͢Δͷɺ+7.্ͰՄೳɻ ίϯετϥΫλͷςετɺ3FBMNͷಡΈॻ͖ͷແ͍ςετͳΒେৎɻ
ςετͷ ϑΝΠϧআ࣌ͷҙࣄ߲ 3FBMNͷ%#ϑΝΠϧશͯͷίωΫγϣϯ͕DMPTF͞Ε͍ͯͳ͍ͱআͰ͖ͣɺ ྫ֎͕ඈͿɻ !"GUFSͰআΛ͢Δ߹ʹɺ࣮֬ʹDMPTF͕ݺΕΔΑ͏ʹ͢Δඞཁ͕͋Δɻ ςετʹࣦഊͯ͠DMPTF͠Εͯ!"GUFS͕ݺΕΔͱྫ֎͕ݟ͘ͳΔɻ w ςετϝιουͰUSZpOBMMZ USZXJUISFTPVSDFT
ΛͬͯDMPTF͢Δ w !"GUFSͰDMPTF͔ͯ͠ΒআΛ͢Δ
ςετͷ !6*5ISFBE5FTUͷҙ !6*5ISFBE5FTU!#FGPSF !"GUFSͱҧ͏εϨουͰ࣮ߦ͞ΕΔɻ ͦͷͨΊɺ3FBMNΠϯελϯεͳͲɺςετϝιουͰ༻ҙɺ আ͢Δඞཁ͕͋Δɻ