withLocale(_:)
Creates and returns a new image with the specified locale.
Declaration
func withLocale(_ locale: Locale?) -> NSImageDiscussion
If the receiver contains locale-sensitive representations, the returned image will prefer to draw using representations appropriate for the specified locale. If locale is nil, the returned image uses the default behavior of choosing representations appropriate for the system’s currently-configured locale.