Strings
“Swift strings are represented by the String type, which in turn represents a collection of values of Character type.”
“Unicode-compliant way to work with text in your code. ”
“Swift’s String type is bridged seamlessly to Foundation’s NSString class. ”
“Each Character value represents a single Unicode character.”
“+” to concate string
like format string let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5).
0 comments:
Post a Comment