"any" Keyword and Existential types in Swift

Опубликовано: 18 Март 2022
на канале: Swift and Tips
9,180
394

In this video you will understand the new keyword "any" in Swift 5.6, why it was added to the language, and why it could break your legacy code if you don't pay attention!

------
Resources:
Porposal: https://github.com/apple/swift-evolut...
any's source code: https://github.com/apple/swift/pull/4...
Existential types: https://docs.swift.org/swift-book/Lan...
Swift 5.6: https://www.swift.org/blog/swift-5.6-...

------
Videos related:
Generics:    • Generics  
Protocols:    • Protocols  
Opaque types:    • Opaque types: Masking your concrete t...  

-----
Don't forget to subscribe to the channel, like it, and follow me on social media:

Twitter:
  / swiftandtips  
  / pitt500  

Finally, ask me for a video you would like to see next 😄!

Credits:
Music by Wataboi from https://pixabay.com/
Video edited with Final Cut Pro


Смотрите видео "any" Keyword and Existential types in Swift онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift and Tips 18 Март 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,180 раз и оно понравилось 394 людям.