/swift-operators-pg

Swift Operators Playground is a handy playground file that covers the syntax for all Swift operators along with different ways to use them

Primary LanguageSwift

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