GreyhairRedbear
03/23/2019, 12:58 PMRuckus
03/23/2019, 1:01 PMGreyhairRedbear
03/23/2019, 1:02 PMkarelpeeters
03/23/2019, 1:05 PMGreyhairRedbear
03/23/2019, 2:46 PM[weak self]
in the list of arguments the lambda (or closure, as its called in swift) captures, which causes the reference to the encapsulating object to be a weak one.karelpeeters
03/23/2019, 2:46 PMGreyhairRedbear
03/23/2019, 3:02 PMsomeFunctionThatTakesAClosure { [weak self] in print($0) }
Taken from the last section of this (https://stackoverflow.com/a/42275638/4929939) stackoverflow answer.gildor
03/24/2019, 1:53 AM