How to use Subscripts in Swift: Explained with Examples

Описание к видео How to use Subscripts in Swift: Explained with Examples

In this video, we will learn about subscripts, how they are implemented in arrays and dictionaries, and how to build your own subscripts!

Content:
0:00 - Intro
0:31 - What is a subscript?
2:42 - Swift without subscripts
3:36 - New subscript for Array
7:00 - Subscripts in custom objects

------

Source code showed in the video: https://github.com/pitt500/swift-and-...

------
Resources:
Swift.org: https://docs.swift.org/swift-book/Lan...
Apple: https://developer.apple.com/documenta...
John Sundell: https://www.swiftbysundell.com/articl...
Avanderlee: https://www.avanderlee.com/swift/cust...

------
Other videos in the channel:
Swift Language:    • Swift Language  
Generics:    • Swift Generics: The Key to Reusable a...  
Swift Concurrency:    • Swift Concurrency  


-----
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 LumaFusion

Комментарии

Информация по комментариям в разработке