How to create custom Operators in Swift | Advanced Learning #33
Swiftful Thinking
0:00 / 0:00
How to create custom Operators in Swift | Advanced Learning #33
3 183 просмотра · 2 года назад
Swiftful Thinking
303 тыс. подписчиков
3 183 просмотра · 2 года назад
In Swift, custom operators are operators that you can define and use in your code, in addition to the built-in operators provided by the language. This feature allows you to create custom syntax to make your code more expressive and readable, as well as to define specialized operations for your custom types.
🤙 WELCOME BACK 🤙
WEBSITE: https://www.swiftful-thinking.com
DISCORD: / discord
GITHUB: https://github.com/SwiftfulThinking/
SAY THANKS: https://www.buymeacoffee.com/nicksarno
00:00 Custom Operators
01:47 Welcome back!
02:43 What is an operator?
04:34 Custom operators
06:02 Operator: +/
06:40 Operator: ++/
07:56 Operator: ^^^
08:43 Operator: =2
11:38 Wrapping up