This is where I'm now confused. Is self
really just a property/variable of the current object that points to itself? To me, it seems/feels like self
really is just a reference to the current object (how else do you describe a variable that points to the current object? I'd call that a reference). That being said, I'm more than willing to rephrase my earlier statement to avoid causing confusion with anyone else that comes across this thread. Do you have any suggestions for how I could better clarify that self
is not really just a reference?
I'd prefer the [weak self] in bar
for consistency with the closure syntax. I also think it reads more clearly than bar[weak self]
.