I know that using a closure will always capture the properties or methods that are used inside the closure.
But do functions cause retain cycles too? If it does please explain it to me!
If not, then why do we even use closures if we are risking a retain cycle when we can just plug in a function in every closure parameter?
My question refers to whether or not a function retains memory like how a closure does.