Earlier quoted context omitted.
What is a "cascaded nil-coalescing operator" ?
Think the ternary operator, but worse. In Swift, this is expressed by "??". It means "If the previous test returns nil, then execute what is after the ??". For example, if you have a concrete Int, but the source might be an optional, then you could do something like this: let a = b ?? 0 That means that if b is nil, then set a to 0. Otherwise, set it to whatever value b has. You can chain these, like so: let b: Int? =…
nameLabel.text = user?.name ?? "Guest"
This, as opposed to: if let name = user?.name {
nameLabel.text = name
} else {
nameLabel.text = "Guest"
}