Posted On: Feb 22, 2018
Functions let you group a series code altogether to perform a specific task. A function is written once and called any number of time in the code.
In swift programming, func keyword is used to create a function
func greet(person: String) -> String { let greeting = "Hello, " + person + "!" return greeting }
Never Miss an Articles from us.
iOS swift is an intuitive and stalwart language for the iOS. It is joyful to deal with the writing stuff in Swift. It is very advanced and its syntax is also concise and expressive too...
It enables you to store the key-value pairs and access the value by providing the key.It is similar to that of the hash..
Basically, it is a type that contains a group of various related values under the same umbrella...