Quote:
Originally Posted by Johanovski
What the #%&"?? Seems that used memory don't decrease even when I release 400 allocated NSStrings? Does it really have sense...?
Thanks, any help will be really appreciated!
|
Change that to mutableStrings and you'll probably get the results you're expecting. [[NSString alloc] initWithString:@"Yabadabadoo!"] will have the same result as just writing @"Yabadabadoo!" , which is a static string that doesn't get deallocated at all during the life of your program.
RE: your images releasing, I think someone pointed out in another thread that your Texture2D dealloc call was not deleting the openGL texture.