ContainerController
ContainerController copied to clipboard
Weak reference
Is there a reason not to make the controller and delegate weakly in the ContainerController?
Since they are all strong references so I have to call remove() every time I dismiss the root view controller so it won't produce a memory leak, I have tried to make them weak and it works fine, and I don't have to call remove() anymore to prevent memory leak.