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もくもく会成果発表
Search
horimislime
December 14, 2016
Programming
0
120
社内Swiftもくもく会成果発表
horimislime
December 14, 2016
Tweet
Share
More Decks by horimislime
See All by horimislime
PagerDuty を軸にした On-Call 構築と運用課題の解決 / PagerDuty Japan Community Meetup 4
horimislime
1
170
スタートアップの急成長に寄り添うOn-Call体制構築とその変遷
horimislime
3
1.6k
How we build our app with minimum 3rd party dependencies
horimislime
0
85
サポート効率を上げるためのロギング環境構築
horimislime
7
3.8k
migrating-from-promise-to-reactive
horimislime
0
360
Swift Optional Extension Tips
horimislime
1
1.5k
ios-internationalization
horimislime
2
8.8k
UI testing in XCode7
horimislime
3
760
UIテストをカジュアルに自動化 / UI Automation using Remote
horimislime
2
2.3k
Other Decks in Programming
See All in Programming
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
fs2-io を試してたらバグを見つけて直した話
chencmd
0
220
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
610
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
350
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
450
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
Go の GC の不得意な部分を克服したい
taiyow
2
760
talk-with-local-llm-with-web-streams-api
kbaba1001
0
170
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
200
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
Security_for_introducing_eBPF
kentatada
0
110
CSC305 Lecture 25
javiergs
PRO
0
130
Featured
See All Featured
Making Projects Easy
brettharned
116
5.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
Thoughts on Productivity
jonyablonski
67
4.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
A designer walks into a library…
pauljervisheath
204
24k
Adopting Sorbet at Scale
ufuk
73
9.1k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
For a Future-Friendly Web
brad_frost
175
9.4k
Transcript
Swift͘͘ձՌൃද 2016/12/14 (ਫ) 1
ΞδΣϯμ • Ռʹ͍ͭͯʢmacOSΞϓϦʣ • macOSΞϓϦΛ։ൃͯ͠Έͯ • ͨ͠ • ࠓճͷ։ൃΛ௨ֶͨ͡ͼ •
·ͱΊ 2
Ռ 3
4
EsaMenu • macOS༻ͷεςʔλεόʔৗறΞϓϦ • WIPهࣄʹؾ͚ͮΔΑ͏ʹ͍ͨ͠ͱ͍͏ͷ͕Ϟνϕʔγϣϯ • ৽ணΛ௨ηϯλʔͰड͚औΓ͔͕ͨͬͨະ࣮! 5
macOSΞϓϦΛ։ൃͯ͠Έͯ 6
iOS։ൃऀʹೃછΈ͍͢ڥʢʹݟ͑Δʣ • Xcode • Swift, Foundation, Storyboard, Xib • AppKit
(NSView, NSButton,...etc) 7
ϑλΛ։͚ͯΈΔͱɾɾɾ • APIͷҹUIKitΑΓΕɻਵॴʹϨΨγʔײ • UIKitͰવͷΑ͏ʹ͍ͬͯΔΞϨίϨ͕༻ҙ͞Ε͍ͯͳ͍ • Webͷใͷগͳ͞ਏ͞ʹܨ͕͍ͬͯΔ override func viewDidLoad()
{ ... tableView.setDelegate(self) tableView.setDataSource(self) } 8
ΤίγεςϜͷ • UIपΓͷϥΠϒϥϦmacOSඇରԠ͕ଟ͍ • fastlane࣮େͷaction͕iOS͔͠ରԠ͍ͯ͠ͳ͍ʂ • RevealʢUIσόοΨʣ͑ͣۤ࿑ 9
AppKitͷྑ͔ͬͨͱ͜Ζ • iOSʹൺͯඪ४ͷUIίϯϙʔωϯτ͕ॆ࣮͍ͯ͠Δ • Interface BuilderͰ΄΅ܗͷݟͨΛ࣮ݱͰ͖Δ 10
ͨ͠ 11
ૣ͍ஈ֊Ͱ৭ʑఘΊͨ • AppKitपΓ͕ཕͩΒ͚Ͱ৭ʑఘΊΔܾஅ • Swift3ɺࢼ͍ͨ͠ϥΠϒϥϦະͷཁૉ͕ଟ͍ͷͰΊͨ • σβΠϯ࣌ؒΛ͔͚ͯྑ͘Ͱ͖ͦ͏ʹͳ͔ͬͨͷͰஅ೦ 12
݁Ռͱͯ͠ • ҰԠϦϦʔεঢ়ଶʹ͍͚࣋ͬͯͨ ! • ͔͠͠ɺݱࡏετΞਃ͕௨Βͳ͍ঢ়ଶ • RSS feedతͳػೳ͚ͩͩͱμϝɺͱͷࣄ •
໘GitHub ReleasesͰzip͢Δ༧ఆ 13
ࠓճͷ։ൃΛ௨ֶͨ͡ͼ 14
ϦϦʔε͢Δͱؾָ͕ʹͳΔ • Ұ୴Ұ۠Γ͚ΒΕΔ • ྔ͕Ͳ͏ͯ࣌ؒ͠ͱͱʹݮ͖ͬͯͯ͠·͏ • ҰετΞ / GitHubެ։ʹ͚͗ͭ͜Δͱͦͷޙͷվળ͕ؾָ 15
ۀͷ։ൃͱ௨͡ΔԿ͔ • ෆ֬ఆཁૉΛ͍͔ʹ௵͍͔͕ͯ͘͠ޭͷΧΪ • ࣄɿݻ·͍ͬͯͳ͍༷ɺ֎෦ཁҼɺϢʔβFB • ࠓճɿAppKitɺSwift3ɺઑͬͨϥΠϒϥϦ • ʮ͍ͤͨ͘͞ʯͱʮྑ͍ίʔυʹ͍ͨ͠ʯͷδϨϯϚ 16
macOS։ൃʹ͍ͭͯࢥ͏ࣄ • ਖ਼Electronָ͕͔...ͱ͍͏ؾ࣋ͪ͋Δ • PhotonͳͲͰUI͍͍ײ͡ʹͰ͖ͦ͏ • ͨͩ͠ύϑΥʔϚϯεCocoa͕ѹతʹྑ͍ 17
·ͱΊ • macOS͚ͷΞϓϦ։ൃ͍Ζ͍Ζେม • ݸਓ։ൃͱͯ͠ɺΞϓϦͱ͍͏ܗ৭ʑֶͼ͕͋Γྑ͔ͬͨ • CocoaɾElectronͲͪΒmacOS։ൃͷબࢶͱͯ͠ΞϦ 18
19