A simple demo of Operator Overloading in Swift
Swift
Latest commit 218a4cc Mar 29, 2016 @simonng simonng Create README.md
Permalink
Failed to load latest commit information.
operator-overloading.playground initial version Mar 29, 2016
README.md Create README.md Mar 29, 2016

README.md

An Introduction to Operator Overloading in Swift

Operator overloading is one of the most powerful features of any computer programming language, so Apple decided to make it available for development in Swift. However, with great power comes great responsibility. You can easily implement really weird scenarios with it, such as making the subtraction operator add numbers or the division one multiply them, but that is definitely not what you want to do with it.

For the full article, please refer to the link below:

http://www.appcoda.com/operator-overloading-swift/