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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
HiroYUKI Seto
August 09, 2017
Technology
0
800
私とKotlinとSwift
2017/8/9
Swift/Kotlin合同勉強会
HiroYUKI Seto
August 09, 2017
Tweet
Share
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
440
MDCの内部実装から学ぶ 表現力の高いViewの作り方
seto_hi
5
1.8k
CoordinatorLayoutのBehaviorを使い倒す
seto_hi
1
440
Jetpack Compose
seto_hi
2
870
UI改善に繋がるエンジニアの立ち回り
seto_hi
2
4.8k
MDCのButtonのCorner Family
seto_hi
1
240
MDCのBottomAppBarのShadowの実現方法
seto_hi
0
1k
Other Decks in Technology
See All in Technology
フロントエンド刷新 4年間の軌跡
yotahada3
0
520
スピンアウト講座05_実践活用事例
overflowinc
0
240
めちゃくちゃ開発するQAエンジニアになって感じたメリットとこれからの課題感
ryuhei0000yamamoto
0
220
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
120
Kiroで見直す開発プロセスとAI-DLC
k_adachi_01
0
110
Phase06_ClaudeCode実践
overflowinc
0
390
It’s “Time” to use Temporal
sajikix
3
240
【Λ(らむだ)】最近のアプデ情報 / RPALT20260318
lambda
0
130
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
1.2k
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
170
_Architecture_Modernization_から学ぶ現状理解から設計への道のり.pdf
satohjohn
2
530
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
3
280
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
230
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
A better future with KSS
kneath
240
18k
Building Applications with DynamoDB
mza
96
7k
Statistics for Hackers
jakevdp
799
230k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
330
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.2k
Documentation Writing (for coders)
carmenintech
77
5.3k
For a Future-Friendly Web
brad_frost
183
10k
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やっていき