Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use Property Wrappers Like @State and @Binding Inside The View Body
Copy link
Facebook
Email
Notes
More

Use Property Wrappers Like @State and @Binding Inside The View Body

Daily Coding Tip 277

Type Safely's avatar
Type Safely
Apr 09, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Use Property Wrappers Like @State and @Binding Inside The View Body
Copy link
Facebook
Email
Notes
More
Share
white and black spiral line
Photo by Dan Bucko on Unsplash

I am in favour of the Swift evolution proposal Lift all limitations on variables in result builders, which was implemented in Swift 5.8.

For too long it has been impossible to do all sorts of things inside a result builder. The @ViewBuilder attribute is an example of a result builder, because it can create a view even if you…

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