Переглядів 1,281
🎟️ 2024 ticket SPECIAL PRICE: swiftheroes.com/2024/
In this insightful video, Yuki Aki, a distinguished iOS Engineer from LINE, takes you on a deep dive into the "any" and "some" keywords introduced in Swift 5.7 and their critical roles in modern Swift programming. As Swift continues to evolve, understanding these keywords becomes essential for creating efficient and performant Swift APIs. Through a detailed exploration of the Swift Compiler, including the special mechanisms of "Existential Container" and "Existential Type," this presentation unveils the secrets behind the performance and runtime behavior of these keywords. Whether you're aiming to refine your Swifty API design or curious about the deep workings of the Swift Compiler, this video is your gateway to mastering "any" and "some" in Swift. Dive in to discover how these keywords can revolutionize your Swift code and lead to module optimization, ultimately enhancing your development process.
🎤 Yuki Aki, iOS Engineer, LINE
📍Swift Heroes 2023 was hosted in Turin, 4-5 May. Attended by 320 iOS developer participants and broadcast to an additional 320 Swift enthusiasts across the globe. The agenda covered a range of important iOS developer topics including SwiftUI, the composable architecture, accessibility, developer tools, testing and much more.
📌 For more engaging content and expert insights, subscribe to our channel and hit the notification bell. 🛎️
Inform: swiftheroes.com/
✅ Tweet: / swiftheroes_it
✅ Connect: / swift-heroes
✅ Read: telegram.me/swiftheroes
⏩ Chapter:
00:00 Intro & Agenda
01:36 “any” and “some” revolution
03:05 Existential Type’s
06:41 How Generics working?
07:55 Protocol abstraction
11:45 “any” Mechanism with Existential Container
13:50 Object in Existential Container (struct)
16:35 Method Dispatch of Existential Container
19:01 Metadata
20:05 How Existential Containers actually works?
26:00 Specialisation of function argument with Generics
27:27 Limitation of argument Specialization
29:15 Summary: Optimization
#SwiftHeroes #SwiftProgramming #AnyAndSome #SwiftEvolution #iOSDevelopment #SwiftCompiler #APIDesign #SwiftTips #CodeOptimization #SwiftDeepDive #iOSProgramming