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? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -