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
英語
Search
Shigure Shimotori
July 14, 2024
Programming
1
790
英語
https://kamiyama-swift.connpass.com/event/319105/
Shigure Shimotori
July 14, 2024
Tweet
Share
More Decks by Shigure Shimotori
See All by Shigure Shimotori
Synchronizationを支える技術
s_shimotori
1
240
1人で挑むSwiftコンパイラ 〜型システム入門編〜
s_shimotori
0
880
Parallel Socket Communication in Swift
s_shimotori
1
800
UIColor Anatomy
s_shimotori
1
2.5k
UIColor Cluster
s_shimotori
1
770
iOSDC Japan 2019 60 mins for color
s_shimotori
5
3.8k
wwdc19
s_shimotori
2
380
SE-0246 Generic Math(s) Functions
s_shimotori
2
2.5k
Introduction to Font and Typesetting
s_shimotori
4
3.9k
Other Decks in Programming
See All in Programming
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
490
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
260
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
850
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
370
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
300
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
170
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
220
ニーリーにおけるプロダクトエンジニア
nealle
0
360
Result型で“失敗”を型にするPHPコードの書き方
kajitack
4
320
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Building Applications with DynamoDB
mza
95
6.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Designing for humans not robots
tammielis
253
25k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Automating Front-end Workflow
addyosmani
1370
200k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Speed Design
sergeychernyshev
32
1k
GraphQLとの向き合い方2022年版
quramy
47
14k
Transcript
@S_Shimotori ӳޠ ਆࢁ.swift
S_Shimotori ࢛ࠃॳ্ʂ
ࣗݾհ • ౦ژӬాொͷ΄͏͔Βདྷ·ͨ͠ • Πϯελʢ@S_ShimotoriʣͰ൧ςϩ • ϦϯάϑΟοτΞυϕϯνϟʔͷ߈ܸྗ10060͘Β͍͋Δͧ • Ϟϯϋϯ🏹 •
DroidKaigiͷco organizer
ӳޠ
ΞδΣϯμ • υΩϡϝϯτΛ༁͢Δ • ಉ࣌௨༁ऀʹґཔ͢Δ
ΞδΣϯμ • υΩϡϝϯτΛ༁͢Δ • ಉ࣌௨༁ऀʹґཔ͢Δ
υΩϡϝϯτΛ༁͢Δ
None
͜ΕԿ • ༗ࢤʹΑΔapple/swift-migration-guideͷຊޠ༁ • shiz3͞ΜͷϦϙδτϦʹ͋Δ • treastrain͞Μओ࠵ͷྠಡձ։࠵͞ΕͯΔ • ࣗ༁ͬͯͭΛͬͯΈΔ͔ʂ
ઓલʹ૾͍ͯͨ͠࡞ۀ • DeepLʹಥͬࠐΜͰ͓͚9ׂํղܾ͢ΔͩΖ • ٕज़༻ޠͷ༁άάͬͯग़͖ͯͨͭΛ࠾༻͢Ε͍͍ͩΖ
ઓલʹ૾͍ͯͨ͠࡞ۀ • DeepLʹಥͬࠐΜͰ͓͚9ׂํղܾ͢ΔͩΖɹʢϑϥάʣ • ٕज़༻ޠͷ༁άάͬͯग़͖ͯͨͭΛ࠾༻͢Ε͍͍ͩΖɹʢϑϥάʣ
ݱ࣮ • ͻͱͭͷষΛ༁͢ʹ͋ͨΓ272ίϝϯτͷΓऔΓ͕ൃੜ
ਓ͕ؒ༁͞ͳ͍ͱ͍͚ͳ͍ͷ • ࣙॻʹࡌͬͯͳ͍Α͏ͳදݱ • ৽͍͠ઐ༻ޠ • Swift🍎ܥOSʹݻ༗ͷ༻ޠ • ࣙॻʹࡌͬͯͳ͍Α͏ͳදݱ
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking isolation generic code using
the protocol in a generic requirement such as a lock or dispatch queue the outer-most root module in a project
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking શͳฒߦੑͷ֬ೝ isolation generic code
using the protocol in a generic requirement such as a lock or dispatch queue the outer-most root module in a project
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking શͳฒߦੑͷ֬ೝ isolation ִ generic
code using the protocol in a generic requirement such as a lock or dispatch queue the outer-most root module in a project
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking શͳฒߦੑͷ֬ೝ isolation ִ generic
code using the protocol in a generic requirement நԽ δΣωϦοΫ such as a lock or dispatch queue the outer-most root module in a project
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking શͳฒߦੑͷ֬ೝ isolation ִ generic
code using the protocol in a generic requirement நԽ δΣωϦοΫ such as a lock or dispatch queue σΟεύονΩϡʔ the outer-most root module in a project
͋ͳͨͳΒͳΜͯ༁͠·͔͢ ݪޠ ࠾༻͞Εͨ༁ complete concurrency checking શͳฒߦੑͷ֬ೝ isolation ִ generic
code using the protocol in a generic requirement நԽ δΣωϦοΫ such as a lock or dispatch queue σΟεύονΩϡʔ the outer-most root module in a project ֎ଆʹ͋ΔϧʔτͷϞδϡʔϧ
ඞཁͳͷ • Ջͳ࣌ؒ • ࠜؾɹ͋Δ͍ҰൃͰ௨͢༁ྗ • ઐࣝ • ӳ୯ޠӳจ๏ͷࣝɹˡάάͬͨΓDeepLʹಥͬࠐΊऴΘΓ
ͥͻҰॹʹΓ·͠ΐ͏ʂ
ΞδΣϯμ • υΩϡϝϯτΛ༁͢Δ✅ • ಉ࣌௨༁ऀʹґཔ͢Δ
ಉ࣌௨༁ऀʹґཔ͢Δ
ಉ࣌௨༁ऀ • ಉ࣌௨༁ͷϓϩɺ͕ٕͩज़ͷϓϩͰͳ͍ • ಉ࣌௨༁ != ஞ࣍௨༁ • ಉ࣌௨༁ͷํ͕Βͳ͍ઐ༻ޠͨ͘͞Μ͋Δ
͋Δͷࡶஊ ಉ࣌௨༁ͷํ KubernetesͬͯͳΜͯൃԻ͢ΔΜͰ͔͢Ͷʁ ͚ɺ͚ʔͪ͑͢… S_Shimotori
͍ٕͭज़༻ޠΛ͑Δ͔ʁ • ಥવͷࡶஊͷͱ͖ • ಉ࣌௨༁͖ͷొஃΛ͢Δͱ͖ • try! Swift TokyoDroidKaigiͷ͜ͱͩΑʂʂ̍̍
None
ొஃ࣌ͷεέδϡʔϧ Φʔϓχϯά ಉ࣌௨༁ଧͪ߹Θͤ ొஃ ऩػࡐ४උʢʂʁʣ 7:30? 10:00 11:05
ొஃ࣌ͷεέδϡʔϧ Φʔϓχϯά ಉ࣌௨༁ଧͪ߹Θͤ Swift Punkొʹؒʹ߹ΘΜ͔ͬͨ😭 ొஃ ऩػࡐ४උ 7:30? 10:00 11:05
ಉ࣌௨༁ଧͪ߹ΘͤͰߦͬͨ͜ͱ • 2िؒલ͘Β͍ʹεϥΠυఏग़ • શͯͷٕज़༻ޠͷ༁ΛόονϦ༻ҙͨ͠Αʂ • ӳޠεϥΠυ+ຊޠΧϯϖͷΈ߹ΘͤͰΓΔ͓ͬͯͪ͞Μ͕ݴͬͯͨ • ʮthrowʰࣺ͛ͯΔʱͬͯҙຯͰ͔͢ʁʯʮͦ͏དྷ͔ͨ…ʯ •
ʮnon copyableʰίϐʔͰ͖ͳ͍ʱͰ͔͢ʯʮͷΜ͜ͽʔ͋ͿΔʯ
य़ʹొஃͨ͠ͱ͖ͷൃදऀϊʔτ
Ͳ͜·Ͱॻ͖͔͘ʁ • ॏཁͳ༻ޠ͘Β͍ॻ͍ͨ΄͏͕ͩ͠ௌऺʹؒҧ͍ͳ͘ΘΔͱࢥ͏ • ࣄલʹεϥΠυΛఏग़͢Δ https://eow.alc.co.jp/search?q=throw https://e-words.jp/w/%E5%86%8D%E9%80%81%E5%88%B6%E5%BE%A1.html
༨ஊɿࢲʹͱͬͯσδϟϰͳಉ௨ଧͪ߹Θͤ ಉ࣌௨༁ͷํ throwͷ༁Ͳ͏͠·͔͢ʁ ͛Δ…ʁεϩʔ͢Δ…ʁ ͑͑ͬͱ…… Ͳͬͪʹ͠Α…͑͑……ʁʁ ͍ͯ͏͔طࢹײ͋Δͧ͜ͷల։ S_Shimotori
༏ͷऩଧͪ߹Θͤ͜Μͳײͩͬͨ͡ʂ ऩͷಜͷํ ʮ0ʯͷಡΈͲ͏͠·͔͢ʁ ͥΖ…ʁΕ͍;Μ…ʁ Ͳ͏͠Α…… S_Shimotori
ڭ܇ • ͪΌΜͱࣄલʹεϥΠυΛఏग़͠Α͏Ͷ • ෳਓͰ༁ޠൃԻΛ֬ೝ͢Δͱ҆৺ͩΑ • ͲͬͪͰେৎͱ͍͏࣌ࣗͷΈͰউखʹܾΊͨํ͕ૣ͍Α