Contents

String.LocalizationValue.Placeholder.object

The object type, as used for replacement values with the localized string placeholder syntax.

Declaration

case object

Discussion

To insert a object into a placeholder, use the syntax \(placeholder: .object).

String.LocalizationValue supports interpolating NSObject instances and Foundation types that bridge to NSObject types.

See Also

Placeholder types