understandingCombine
understandingCombine copied to clipboard
Use of unowned
I believe its the first section of Assign that you use a capture list with "unowned self". Due to the asynchronous usage most Combine usages operate in, why not use "weak self".
Understood that it generates more overhead for iOS, but gee whiz, we have such powerful processors and gobs of memory, hardly an issue now. And you are guaranteed to not crash no matter if the block gets run while "self" is deconstructing on another thread.