NSString object initialized by using a given format string as a template into which the remaining argument values are substituted without any localization.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
A list of arguments to substitute into
NSString object initialized by using
format as a template into which the values in
arg are substituted according to the current locale. The returned object may be different from the original receiver.
This method is meant to be called from within a variadic function, where the argument list will be available.
This method invokes
init(format: without applying any localization. This is useful, for example, when working with fixed-format representations of information that is written out and read back in at a later time.