This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/33
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/33
Hello, could you explain the usage of ‘self’ here? What is it/why is it used?
Thanks
1 Like
As this is a fundamentals tutorial, it would have been good if you explained things in more detail such as what exactly is UInt? I know what self refers to and the need for it but I am also confused about the usage of it here. Not everyone watching this tutorial is a developer or familiar with all programming concepts. Some of us watching this are trying to learn how to code. I also do not believe it was covered in previous tutorials. Some subjects are really rushed in your tutorials compared to other instructors. It would be more beneficial if you explained things rather than assuming we know them already.
2 Likes