Swinject icon indicating copy to clipboard operation
Swinject copied to clipboard

remove useless [unowned self]

Open Akhrameev opened this issue 1 year ago • 0 comments

as closures are @noescape by default and don't retain 'self' since Swift version 3

More info: https://stackoverflow.com/questions/38141298/lazy-initialisation-and-retain-cycle https://github.com/apple/swift-evolution/blob/main/proposals/0103-make-noescape-default.md https://michael-kiley.medium.com/why-your-lazy-vars-arent-creating-strong-reference-cycles-in-ios-d512ff2c9403 Screenshot 2023-03-10 at 14 35 44

Akhrameev avatar Mar 10 '23 10:03 Akhrameev