Functions in Swift
The function is a set of commands/statements. To create a simple function, you first have to define and name it; generally, naming is according to the task you want it to perform. For example:
var age = 18
let name = "Krishna"
print("Hi, I am " + "\(...
iosmayank.hashnode.dev6 min read