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
私とKotlinとSwift
Search
HiroYUKI Seto
August 09, 2017
Technology
830
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
私とKotlinとSwift
2017/8/9
Swift/Kotlin合同勉強会
HiroYUKI Seto
August 09, 2017
More Decks by HiroYUKI Seto
See All by HiroYUKI Seto
Androidアプリの 安全なリファクタリングを行うパターン集
seto_hi
2
5k
UI TestやVisual Regression Testを コスパ良くやる
seto_hi
3
1.9k
事業支援というお仕事
seto_hi
0
460
MDCの内部実装から学ぶ 表現力の高いViewの作り方
seto_hi
5
1.9k
CoordinatorLayoutのBehaviorを使い倒す
seto_hi
1
470
Jetpack Compose
seto_hi
2
880
UI改善に繋がるエンジニアの立ち回り
seto_hi
2
4.8k
MDCのButtonのCorner Family
seto_hi
1
260
MDCのBottomAppBarのShadowの実現方法
seto_hi
0
1.1k
Other Decks in Technology
See All in Technology
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
0
220
GoでCコンパイラを作った話
repunit
0
120
AI、CDK と協働する Full TypeScript アプリケーション開発 / Full TypeScript Application with AI and CDK
geekplus_tech
2
400
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
130
LLM/Agent評価:トップ営業の発言を「正解」にする 〜暗黙的正解による評価を営業資産に変える〜
takkuhiro
1
230
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
940
AI x 開発生産性を取り巻く予算戦略と投資対効果
i35_267
1
190
LLMやAIエージェントをソフトウェアに組み込むプラクティス
shibuiwilliam
2
430
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
1k
Control Planeで育てるBtoB SaaSの認証基盤 - SRE NEXT 2026
pokohide
1
2.7k
AI時代の開発生産性は、個人技からチーム設計へ
moongift
PRO
4
2.4k
Playwright × AI Agent でE2Eテストはどう変わるか AI駆動テストの可能性と実用検証の結果
taiga7543
1
490
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
Color Theory Basics | Prateek | Gurzu
gurzu
0
390
The Pragmatic Product Professional
lauravandoore
37
7.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
How to build a perfect <img>
jonoalderson
1
5.8k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
360
Transcript
私とKotlinとSwift Swift/Kotlin合同勉強会 株式会社ノハナ 瀬戸優之 @seto_hi
自己紹介 • 瀬戸優之 せとひろゆき @seto_hi • 株式会社ノハナ ◦ Androidエンジニア 兼 iOSエンジニア ◦
UIデザインもやる、施策も考える、なんでもやる ◦ WE ARE HIRING!!!
ノハナの言語事情 • Android ◦ 30% Kotlin ◦ 現在絶賛Kotlin化中 ◦ •
iOS ◦ 43% Swift (3.1) ◦ 現在絶賛Swift化中
Swift きにいったところ guard文
guard文 • 条件に沿っていない場合の処理を書ける ◦ returnとか例外投げるとか • ifと同じことだが目につきやすい • guard letが特に良い
guard let 例
Swift すきじゃないところ
すきじゃないところ • selfが必要な部分が多くて冗長 • String.countまわり ◦ str.utf8.count、str.utf16.count • enumのAssociated Value
• Objective Cと互換性のない文法がある • Xcode • Xcode • Xcode
Kotlinのほうがいいところ
Kotlinのほうがいいところ • Smart Cast • when文 • applyなどのスコープ関数 • IDE
• IDE • IDE
感想 • みんなちがって、みんないい • 両言語を違和感なく併用できる • 両OSやっていき