Instance and Static Methods (Revised)

Veröffentlicht am: 17 Februar 2020
auf dem Kanal: Stewart Lynch
2,780
181

Revised version to remove some unrelated clips in the middle of the video.

In this video, we want to find out how we can modify properties of a struct using a function or method and we will find out what the difference is between a function and a method.
We will revisit the concept of encapsulation so that our functions or methods are created in the best location for our purpose, while finding out what a mutating method is.
We will also explore how we can restrict access to properties from outside of the class or struct.
And finally, we will see how we can create a static Type property that acts as a global property for all instances of the type.

Starter Project:
https://www.createchsol.com/StarterPr...

Stewart Lynch's YouTube Channel
   / stewart   Lynch

CreaTECH Solutions Website
https://www.createchsol.com

Stewart Lynch's GitHub
https://github.com/StewartLynch

Other videos in this series.
Computed Properties:
https://studio.youtube.com/video/yze9...

Property Observers:
   • Property Observers  


Auf dieser Seite können Sie das Online-Video Instance and Static Methods (Revised) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Stewart Lynch 17 Februar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,780 Mal angesehen und es wurde von 181 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!