Retain information in cocoa?
Posted
by happyCoding25
on Stack Overflow
See other posts from Stack Overflow
or by happyCoding25
Published on 2010-04-17T20:15:13Z
Indexed on
2010/04/17
20:23 UTC
Read the original article
Hit count: 430
Hello,
I'm still new to cocoa and don't know much about memory management. I read up on apples documentation but I'm still confused. My question is if I set the value of a variable in a - (void)dowhatever
when the void ends, will the contents of the variable be erased? If so is there a method (without writing to a file) that I can use to retain the variable contents?
Thanks for any help
© Stack Overflow or respective owner