Structs vs classes in Swift

preview_player
Показать описание
In this video, let's review all you need to know about Structs and classes in Swift.

0:55 - Reference vs value types
3:16 - Copy on Write for structs
3:50 - Memory allocation
4:47 - Similarities for structs and classes
6:20 - Differences for structs and classes
8:17 - Accessing properties
8:40 - Identity Operator
11:03 - Summary

Source code showed in the video:

Other videos in the channel:

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

Twitter:

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

Credits:
- Video edited with LumaFusion
Рекомендации по теме