iOS icon indicating copy to clipboard operation
iOS copied to clipboard

`static var` to `static let`

Open michalsrutek opened this issue 1 year ago • 2 comments

Summary

  • static let plays nicely with modern Swift concurrency (async/await)
  • static let makes it impossible to mutate the values - causing undefined behavior in some cases

michalsrutek avatar Mar 14 '24 19:03 michalsrutek