Follow

It’s fun to see error messages when you implement a property wrapper. You can tell that property wrappers are 100% syntactic sugar.

Like, if your init(wrappedValue:…) is init(_ foo: …), you get an error “extraneous argument label wrappedValue:” at the property declaration.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!