Strings as Collections: Strings define the mapping of numbers to the character they represent. In it’s most basic form. They are actually a collection type, you can iterate through strings, split and slice them and just about any other method you can do with other collections.
//Strings as collections.
let myString="Hello Swift Bandit!"
//You can find the length of a string using the count method.
Bi-directional Collections: Strings can be reversed but whatRead More
Closure fundamentals: Closures are the same as functions, except they have no name. You are able to assign to a variable or constant and pass it around like all the other values. The following basic tutorial will teach you how to work with closures to leverage your data. Closures have the ability to ‘close overRead More