ios - Instruments viewcontroller segue not released? -



ios - Instruments viewcontroller segue not released? -

i have question storyboard, segues , memory management. if read on forums people working wondering following, made little video illustrate:

https://www.youtube.com/watch?v=ixs1fiv5m9s

i grabbed source github explaining segues , unwinding them i tested in debugging , indeed see functions including dealloc working i run instruments , check how many times 2de view controller created (every time #persistent increasing) i check changes in memory between 2 states, , lot still in memory? view controller gone?

i looking wrong info in instruments? guess looking memory leaks using modal , dismissing view controller not right way this?

can explain me how memory leaks? need much bigger app using lot of segues, , app crashes because of memory warnings...

ios memory-leaks swift storyboard segue

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -