An enumeration is a user-defined data type which consists of set of related values. Continue reading “19_ Swift – Enumerations”
Constants and variable references defined inside the functions are captured and stored in closures.
A function is a set of statements organized together to perform a specific task.
Swift 4 dictionaries are used to store unordered lists of values of the same type.
Swift 4 sets are used to store distinct values of same types but they don’t have definite ordering as arrays have. Continue reading “15_ Swift – Sets”
Swift 4 arrays are used to store ordered lists of values of the same type.
A character in Swift is a single character String literal, addressed by the data type Character.