Wednesday, July 16, 2014

Swift - String in swift [ swift programming language apple ios]

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

About

Powered by Blogger.