Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
私と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
2k
事業支援というお仕事
seto_hi
0
470
MDCの内部実装から学ぶ 表現力の高いViewの作り方
seto_hi
5
1.9k
CoordinatorLayoutのBehaviorを使い倒す
seto_hi
1
470
Jetpack Compose
seto_hi
2
890
UI改善に繋がるエンジニアの立ち回り
seto_hi
2
4.9k
MDCのButtonのCorner Family
seto_hi
1
260
MDCのBottomAppBarのShadowの実現方法
seto_hi
0
1.1k
Other Decks in Technology
See All in Technology
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2k
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
170
What the customer really needed
kawaguti
PRO
3
200
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
9
3.8k
AI de Idea
kawaguti
PRO
2
120
Reactの設計論
uhyo
24
13k
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
1
170
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
630
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
1
360
安心して変更できるWebフロントエンドの作り方
pirosikick
5
2.7k
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
170
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
6
2.8k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Balancing Empowerment & Direction
lara
6
1.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Become a Pro
speakerdeck
PRO
31
6.3k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
We Have a Design System, Now What?
morganepeng
55
8.3k
Prompt Engineering for Job Search
mfonobong
0
450
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Deep Space Network (abreviated)
tonyrice
0
310
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
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やっていき