Hey there !
I have a leak memory (explained here) and, to found where it was coming from, I had to make a simple test. You can see or download the code in the previous post.
I’m just creating 2 scenes and in both of theme, there’s a simple button with a touch event. Once touched, it goes to the scene 1 or 2.
I found out that, before calling gotoScene(), if I don’t remove the button and nil it, memory keeps growing while going scene to scene.
But, i thought that the storyboard API was removing automatically everything inserted in the scene.view…
So, do we really have to remove and nil every display object created in a scene ?