Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftproperty wrappersSingle-choice MCQ

What does the synthesized memberwise initializer of `Settings` look like when a stored property uses a property wrapper that has an `init(wrappedValue:)`?

@propertyWrapper struct Capitalized { private var value: String = "" var wrappedValue: String { get { value } set { value = newValue.capitalized } } init(wrappedValue: String) { self.wrappedValue = wrappedValue } } struct Settings { @Capitalized var name: String }