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.