Shape, ViewModifier, Constants
Constants
Shapes
ViewModifiers
Protocols
associatedtype
some
any
Layout
Flexibility priority
Built-in views
ViewBuilder
Associated data
Switch let syntax
Calculated properties
Optional unwrapping
Extensions
Intent Function
Access Control
Closure syntax using functional programming
Static vars and static funcs – type vars and type funcs
Reactive UI
Structs and Classes
Functions
Shuffled vs Shuffle
Explicit mutability X Pointer mutability
Generics
Protocols
Functions as types
Closures
Trailing closure syntax
Opaque return type
Extremely strongly typed language
ViewModifier
Views are immutable
@State
Let constants
I learned the difference between data X behavior encapsulation;
VStack is actually a function that has an implicit content attribute within the open and close curly braces {};
The rendering of subviews within VStack is due to @TupleView and @ViewBuilder.
After all, professor Hegarty proves to be a professor that breaks the taboo of being afraid of losing students after recommending reading the language's documentation.