Answers for "localized string with variables swift"

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 "localized string with variables swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language