The question is simple. Do I need to release an NSLocalizedString? For instance:
NSString *internetMessageTitle = NSLocalizedString( @"You are currently not connected to a internet network" @"Title of the message that tells the user there is no internet network");
Because I did this:
NSLog(@"Retain count of InternetMessageTitle is: %d", [internetMessage retainCount]);
But it prints save counter 2. However, I read that the saveCount attribute is not very reliable. Should I let him go twice?
And yes, I read the memory management rules and documentation guide, but I don't see any NARC (NewAllocRetainCopy) guidelines here. I'm still a newbie, so I really don't know how NSLocalizedString creates strings.
Thanks!
EDIT1: I use this variable in UIAlertView. I do not know if the keepCount value increases there when I use it. And even when the warning is not used (inside if, and if omitted, then it is not used). SaveCount is still 2 according to NSLog.
source share