From Maksym “Max” Shcheglov of On Swift Wings, using Property Wrappers to make Swift code more thread safe.
As Max mentioned, “Atomic property is one of the commonly-requested Swift features”. Using Properties Wrappers, you can do this.
https://www.onswiftwings.com/posts/atomic-property-wrapper/
No comments:
Post a Comment