Swift / Experiments
Testing & Experiments
Experiments with formatting, Swift code, and educational callouts.
important
note
very important
Important rule Note: This is subtle behavior
Rule: Explanation text goes here.
let x = 10
struct User {
let id: Int
}
Code
let name = "Taha"
Or visually:
Code:
- First rule
- Second rule
- Third rule
Warning: This crashes at runtime.
Tip: Prefer value types.
Note: ARC applies only to class instances.