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
93
Claude Code の /goal コマンドの話
numa08
0
19
FT8の話
numa08
0
33
What/Why/How MVVM on iOS
numa08
3
850
facilio
numa08
0
160
Kotlin でテストを書く
numa08
0
440
Android Testing Bootcamp 4
numa08
0
580
チームの進捗をちゃんと可視化したい話
numa08
1
1.1k
Realmを正しく使うには
numa08
2
440
Other Decks in Technology
See All in Technology
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
200
GitHub、使う?使わない?
happysamurai294
0
140
キヨさん、67歳。AIコーディングエージェントに挑む
happysamurai294
0
140
クラウドエージェントの先駆け Devin。今も最先端を走る、他との違い
kinopeee
1
540
Vibe-to-Spec開発_実践ガイド
happysamurai294
0
140
Systems Manager AgentがインストールされたPCを紛失した時の対策を考えてみた
amarelo_n24
1
110
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
210
生き様としてのSRE
hokkai7go
1
150
SLOを阻む不安
sraku2159
0
200
1週間、Opus封印でお願いします
kintotechdev
1
430
cdk deployとcdkd deploy、実際にデプロイして5倍速近くの差を実測した
yama3133
1
160
OneLakeをデータソースにした AI Search(Foundry IQ)の ライフサイクル管理
ryuseiiida
0
220
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Accessibility Awareness
sabderemane
1
280
ラッコキーワード サービス紹介資料
rakko
5
5.6M
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to make the Groovebox
asonas
2
2.5k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
460
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
450
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
750
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ΠϯελϯεͳͲɺςετϝιουͰ༻ҙɺ আ͢Δඞཁ͕͋Δɻ