

As Apple claims, Swift is a fantastic language to write code on. Among the adjectives Swift is described with, are:
- fast
- type-safe (in contrast, Objective-C is not)
- expressive
Back to Swift, and it’s new 4.0 version in particular, which updates does it bring to iOS developers worldwide?
- Strings
String now conforms to Collection protocol thanks to SE-0163 proposal. Remember Swift 1.x?
There is no need in characters array property now as you can iterate over String directly:
let string = "Hello, Mind Studios!"
for character in string {
print(character)
}
Read more in our freshly-published article Swift 4 vs Swift 3 - Differences





