Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftweak self in closuresSingle-choice MCQ

What does the `unowned` capture in this closure assume, and what happens if that assumption is violated?

class Owner { let id = 1 lazy var describe: () -> String = { [unowned self] in return "Owner \(self.id)" } }