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
110
社内Swiftもくもく会成果発表
horimislime
December 14, 2016
Tweet
Share
More Decks by horimislime
See All by horimislime
How we build our app with minimum 3rd party dependencies
horimislime
0
63
サポート効率を上げるためのロギング環境構築
horimislime
7
3.6k
migrating-from-promise-to-reactive
horimislime
0
350
Swift Optional Extension Tips
horimislime
1
1.2k
ios-internationalization
horimislime
2
8.7k
UI testing in XCode7
horimislime
3
700
UIテストをカジュアルに自動化 / UI Automation using Remote
horimislime
2
2.2k
Swift Libraryざっくり現状確認 / Swift library overview
horimislime
1
120
1時間で作るSwiftアプリ / Swift Application in an hour
horimislime
2
110
Other Decks in Programming
See All in Programming
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
4
430
SmartHRにおけるプロダクトエンジニア/product_engineer_in_smarthr_20240227
saitoryc
5
180
Laravel標準バリデーションでできること
hmb_ok
1
330
Laravel OpenAPIによる"辛くない"スキーマ駆動開発
kentaroutakeda
2
1.4k
ISUCONってなんだか難しそう……!!でも、初めてのISUCONにPHPで挑戦してきました!
kotomin_m
0
260
Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
840
mandaRa: R言語ユーザのための新しい知識共有の場 / mandara_tokyor111
s_uryu
2
410
PHPカンファレンス関西2024でLTとスタッフした
ohmori_yusuke
2
120
Deep Dive into the Symfony Security Component
hhamon
1
180
Microsoft Fabricを7ヶ月使ってわかったこと
shun_oshidari
2
450
Faster, greener, and happier- why Quarkus should be your next tech stack
hollycummins
0
130
PHP で読む楽しいコアダンプ
sji
0
220
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
58
4.9k
The Cult of Friendly URLs
andyhume
72
5.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
319
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Designing Experiences People Love
moore
135
23k
Building Adaptive Systems
keathley
29
1.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
4
1.4k
Building Your Own Lightsaber
phodgson
97
5.6k
KATA
mclloyd
14
11k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
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