localizableTextProvider(withStringsFileTextKey:)
Creates a localizable simple text provider using the strings file key for the text.
Declaration
class func localizableTextProvider(withStringsFileTextKey textKey: String) -> SelfParameters
- textKey:
The key for the desired text. This key must appear in the localized string files named
ckcomplication.stringsin the WatchKit extension target.
Return Value
A text provider object built from the specified arguments.
Discussion
Use this method to create a text provider that returns localized strings.