objective c - What happens to memory when removing view from view controller without release? -


if remove view view controller: [myviewcontroller.view removefromsuperview] without [myviewcontroller release]. memory freed up?

no. unless wrote autorelease when allocated, or release'd after added it.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -