jonathangarelick / SoundSeer

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

[perf] determine when to use weak self #9

Closed jonathangarelick closed 3 weeks ago

jonathangarelick commented 1 month 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 1 month ago

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

jonathangarelick commented 3 weeks ago

will handle this on a case-by-case basis