How to create your own structs - Swift for Complete Beginners
HTML-код
- Опубликовано: 13 окт 2024
- Other videos in the Structs section:
1. How to create your own structs: This video
2. How to compute property values dynamically: • How to compute propert...
3. How to take action when a property changes: • How to take action whe...
4. How to create custom initializers: • How to create custom i...
5. How to limit access to internal data using access control: • How to limit access to...
6. Static properties and methods: • Static properties and ...
7. Summary: Structs: • Summary: Structs - Swi...
8. Checkpoint 6: • Checkpoint 6 - Swift f...
You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: www.hackingwit...
Watch the full Swift for Complete Beginners playlist here: • Swift for Complete Beg...
Thanks Paul, this is the best Swift struct tutorial I have seen and heard.
I love the pup that comes in and out. Need that mini break 😂
Thank you a lot, I hadn't understood this until now.
structs are like data classes?
Cute dog.
sir why the curly braces are not finish exactly below to vacationRemaining i am very stuck for this
Brilliant. Merci!
I like to use name for variable then type and call init.
var archer: Employee = .init(name: “Some one”, vacationRemaining:14)
"camelCase where the first letter is lower case"... so just camelCase then??? Do you think camelCase is PascalCase?
While there is a difference between PascalCase and camelCase, there's no need to be so pedantic. Just a helpful comment that PascalCase is the term used when the first letter is uppercase would be helpful for others.