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
オフライン時などにNavigationBarの下に表示するバーを作る
Search
Teruto Yamasaki
September 28, 2016
Programming
0
1.1k
オフライン時などにNavigationBarの下に表示するバーを作る
2016-09-28 potatotips 33資料です。
FacebookやSlackのiOSアプリがオフライン時に表示されるのに似た感じのバーを作りたいと思います。
Teruto Yamasaki
September 28, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
GraphQL はいいぞ! ~Laravel で学ぶ GraphQL 入門~
azuki
1
160
Rustのweb開発を助ける 便利なツール紹介
yuki0418
1
190
Trial
cairolibrary720
1
130
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
最近追加した型の紹介とその振り返り
aki19035vc
0
170
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
CSC307 Lecture 08
javiergs
PRO
0
330
最古の関数型言語「Lisp」ことはじめ / lisp_in_kamiyama
uhooi
1
190
生成AIをkintoneに連携してみた
hideg
0
230
初心者がおさえておきたいAWS CDKのベストプラクティス 2024
konokenj
15
7.3k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
20
1.3k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
277
13k
From Idea to $5000 a Month in 5 Months
shpigford
377
46k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Unsuck your backbone
ammeep
666
57k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
What's new in Ruby 2.0
geeforr
338
31k
YesSQL, Process and Tooling at Scale
rocio
166
14k
How to Ace a Technical Interview
jacobian
274
23k
Transcript
ΦϑϥΠϯ࣌ͳͲʹ /BWJHBUJPO#BSͷԼʹදࣔ͢Δ όʔΛ࡞Δ potatotips 33 2016-09-28 @snoozelag
iOS/Android / Pepper / Server…etc ࢁ࡚ ًඈ Yamasaki Teruto @snoozelag
ΦϑϥΠϯ࣌ʹදࣔ͞ΕΔόʔʁ λΠϜϥΠϯදࣔܥͷΞϓϦʹ࣮͞Ε͍ͯΔײ͡
࡞Γͨ͘ͳ͖͔͚ͬͨͬ ɾ௨৴ΤϥʔͰUIAlertʙͷλοϓΘͣΒΘ͠ ͍ͷͰɺग़དྷΔ͚ͩग़ͨ͘͠ແ͍ͱࢥ͍ͬͯͨɻ
• UINavigationBarͷදࣔΤϦΞΛ֦ு͢ ΔܗͰ࣮Ͱ͖ͳ͍͔ ࣮ํΛཱͯΔ ʻཧʼ
"QQMFͷ6*/BWJHBUJPO#BS ͷ4BNQMFΛ֬ೝ
None
• UINavigationBarͷλΠτϧΑΓԼͷྖҬΛ͛Δͷɺ ViewContoroller্ʹUINavigationBarʹݟ͔͚ͤͨViewΛ Ճ͍ͯ͠ΔɻʢUINavigationBarͷ1ptͷϥΠϯফͯ͠ɺ ͻͱଓ͖ʹݟ͑ΔΑ͏ʹ͍ͯ͠Δʣ • UINavigationBarͷ্ͷ΄͏ɺprompt͋ͨΓͷྖҬΛ͛ Δͷී௨ʹग़དྷΔɻʢԼͷ΄͏ී௨ʹग़དྷͳ͍ʣ
• UIViewControllerͷviewʹՃ͢ΔܗͰ ΦϑϥΠϯ࣌ͷόʔΛɺ UINavigationBarͷԼʹஔ͘ɻ ࣮ํΛཱͯΔ ʻݱ࣮ʼ ৭ʑௐ͚ͨͲɺσβΠϯΨΠυͰݻΊΒΕͯΔUIૉࡐͬΆ͍ͷͰ ༰қͰͳ͛͞ɻͱ͍͏͜ͱͰݱ࣮ʹΔɾɾ
ωοτϫʔΫଓͷঢ়ଶΛ֬ ೝ͢Δ ఆ൪ϥΠϒϥϦ Reachability
࣮ %&.0 https://github.com/snoozelag/SlideDownAlertView ίʔυͪ͜Β:
ࣗͷࣈ͕Ԛ͗͢Δস
·ͱΊ ɾࠓߋͳ͕ΒͬͺΓݻ͔ͬͨɺUINavigationBar ΧελϚΠζ͖͠Γ͍ͨɻ ଓ͘ɾɾʢʁʣ UINavigationBar
͝੩ௌ͋Γ͕ͱ͏͍͟͝· ͨ͠ɻ