Skip to content

Demonstrating custom Swift operators. Including prefix, postfix, infix, and compound assignment operators.

License

Notifications You must be signed in to change notification settings

AvdLee/CustomSwiftOperators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom Swift Operators

Swift Version Twitter

Demonstrating custom Swift operators. Including prefix, postfix, infix, and compound assignment operators. Related blogpost: Custom Operators in Swift with practical code examples.

Included in this project

  • Infix operator
  • Prefix operator
  • Postfix operator
  • Compound Assignment Operator
  • Emoji Operators

Contributing

If you have a great example of a custom operator you think we can all benefit from, feel free to open a PR with a new Playground page.

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

License

Custom Swift Operators is available under the MIT license, and uses source code from open source projects. See the LICENSE file for more info.

Author

This project is originally created by Antoine van der Lee based on experienced from developing Collect by WeTransfer and writing posts at SwiftLee. A detailed explanation of custom operators can be found on his blog Custom Operators in Swift with practical code examples.

About

Demonstrating custom Swift operators. Including prefix, postfix, infix, and compound assignment operators.

Topics

Resources

License

Stars

Watchers

Forks

Languages