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
64
サポート効率を上げるためのロギング環境構築
horimislime
7
3.6k
migrating-from-promise-to-reactive
horimislime
0
350
Swift Optional Extension Tips
horimislime
1
1.3k
ios-internationalization
horimislime
2
8.7k
UI testing in XCode7
horimislime
3
710
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
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
220
Elm Form Validation
bkuhlmann
0
510
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
300
Java 22 Overview
kishida
1
170
デザインシステムで Tailwind CSSとCSS in JSに分散投資をしたら良かった話
fsubal
18
4.9k
ゆるい個人開発のススメ
kuroppe1819
10
950
pixivアプリでマルチモジュールを実現するまで
gatosyocora
1
130
SpringBoot+MyBatisで例外が出たときどこを見るか
syukai
0
110
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
3
790
Featured
See All Featured
Six Lessons from altMBA
skipperchong
20
3k
What's in a price? How to price your products and services
michaelherold
237
11k
Why Our Code Smells
bkeepers
PRO
331
56k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
The Cult of Friendly URLs
andyhume
74
5.7k
How STYLIGHT went responsive
nonsquared
92
4.8k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Adopting Sorbet at Scale
ufuk
67
8.6k
Rails Girls Zürich Keynote
gr2m
91
13k
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