init(stringLiteral:)
Creates a localized string resource from the specified string literal.
Declaration
init(stringLiteral value: String)Parameters
- value:
The key to use when looking up a localized value.
Discussion
This initializer uses the default values from LocalizedStringResource/init(_:table:locale:bundle:comment:) for the table, locale, bundle, and comment.