Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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")
 
PREVIOUS NEXT
Tagged: #localized #string #format #swift
ADD COMMENT
Topic
Name
5+8 =