hello,
in my for loop i check the condition and format a string and set this string on a label,so here memory is increase.
is there any other method to format the string set on label without increasing memory.
thanks in advance.
in my for loop i check the condition and format a string and set this string on a label,so here memory is increase.
Code:
NSString* str=@"";
for(int j=0; j<512; j++)
{
str=[NSString stringWithFormat:@"Current Loop Value%d",j];
[_test_label setStringValue:str];
}
thanks in advance.