Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Create a Custom Operator For SwiftUI Bindings
Copy link
Facebook
Email
Notes
More

Create a Custom Operator For SwiftUI Bindings

Daily Coding Tip 264

Type Safely's avatar
Type Safely
Mar 13, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Create a Custom Operator For SwiftUI Bindings
Copy link
Facebook
Email
Notes
More
Share
grayscale photo of woman using headphones
Photo by Museums Victoria on Unsplash

I have a protocol called Obey because protocols are something that a type has to conform to. All types that obey the Obey protocol need a String called obey. In the case of MyType, this is simply the word OBEY in all caps. This is in reference to the Andre the Giant Has a Posse sticker campaign by Shepherd Fairey, bu…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More