Answers for "swift convert a localized string to a string"

1

localized string format swift

// you should have "account.by_user" = "by %@ and %@"; and take this:

let localizedString = NSLocalizedString("account.by_user", comment: "any comment")
let wantedString = String(format: localizedString, "Peter","Larry")
Posted by: Guest on April-06-2020

Code answers related to "swift convert a localized string to a string"

Code answers related to "Swift"

Browse Popular Code Answers by Language