skip to content

Value vs Reference Types

0 questions

Structs and enums with copy semantics against classes with reference identity, when to choose each, and copy-on-write in the standard library. Interviewers ask because unexpected sharing — or unexpected copying — explains a large share of state bugs in UIKit and SwiftUI code.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it