Overloading Functions in Swift

Photo by Murai .hr on Unsplash

Overloading functions or methods in Swift is a task that developers perform often. The technique that lies behind that term allows to create functions that have something in common; they share the same name, but there are certain rules to follow. Phrasing that in a more elegant way:

The definition of two or more functions or methods with the same name but different type of parameters, different number of