A value type is a type where the data or value is copied when assigned to a constant , variable […]
Optionals in Swift are used to represent absence of value. When a value is of optional type, it either has […]
Assertions and preconditions help us create checks for validating the program during runtime. We use our own assumptions and expectations […]
Tuples group multiple values of different types into single compound value.
Defer statement can be used to defer the execution of certain line/s of code in the program. Statements within the […]
Type-aliases define a alternative name to existing type.
Constants and Variables associate a name with a value of particular type. They must be declared before they are used. […]
Macbook comes with pre-installed ruby. To check whether you have ruby installed in your system open the terminal app and […]
Print is a global function in swift 4.This function prints the output in Xcode console pane followed by a linebreak […]