Swift Tutorial: Dictionaries (creation, add & remove key/values, count, capacity, struct as a key)

Описание к видео Swift Tutorial: Dictionaries (creation, add & remove key/values, count, capacity, struct as a key)

In this Swift tutorial video we'll look at dictionaries; specifically declaration, adding and updating key/value pairs, working with count, capacity, and isEmpty, removing key/value pairs, and working through an in-depth example using a struct as the key

00:00 Intro
00:42 Definition and creation
01:21 Add key/value pairs
01:39 updateValue()
02:26 Count and capacity
05:16 reserveCapacity()
06:46 removeValue() and removeAll()
09:17 Struct as a dictionary key
11:27 Creating our dictionary
14:04 Method to get card count
15:59 Method to get first card match
18:14 End

Hit the like button, comment, subscribe, and hit the dinner bell to be notified of my next video!

If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...

Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.

Thank you for watching!

Huge thank you to the channels below for helping me get started!
Uncreated Light Press
   / @uncreatedlightpress4142  
and

Mr. Macintosh
   / @mr.macintosh  
and

The Apple Ninja
   / jessetheappleninja  

Комментарии

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