Swift Operators Playground is a handy playground file that covers the syntax for all Swift operators along with different ways to use them
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SwiftOperators.playground
README.md

README.md

For more playgrounds like this, visit http://hackswift.co/playgrounds

Swift Operators Playground

Open in XCode 6

It covers the syntax for all Swift operators along with different ways to use them

  • Assignment Operator
  • Arithmetic Operators (along with Overflow operators)
  • Compound Assignment Operators
  • Comparison Operators
  • Ternary Conditional Operator
  • Range Operators
  • Logical Operators
  • Bitwise Operators

Keep this handy and copy-paste the required snippets into your projects.

Feel free to suggest modifications, report issues or improvements in the issues section.

Follow us on Twitter : @hackswift