jonathangarelick / SoundSeer

SoundSeer is a macOS app that shows your current song & controls in the menu bar.
128 stars 2 forks source link

[perf] determine when to use weak self #9

Closed jonathangarelick closed 6 months ago

jonathangarelick commented 7 months ago

audit the code and determine when weak or unowned self can be used

https://www.swiftbysundell.com/basics/memory-management/ https://www.swiftbysundell.com/questions/is-weak-self-always-required/ https://medium.com/@almalehdev/you-dont-always-need-weak-self-a778bec505ef https://www.avanderlee.com/swift/weak-self etc

jonathangarelick commented 7 months ago

https://stackoverflow.com/questions/64504476/when-to-use-self-vs-weak-self-in-swift-blocks

jonathangarelick commented 6 months ago

will handle this on a case-by-case basis