Hi, I am new to ObjectiveC language. I am having trouble understanding memory management syntax. My code is below:
NSDate* someDate;
someDate=[[NSDate alloc] init];
loop
{
someDate=[[NSDate alloc] init];
}
will I have a memory leak here ? or the NSDate object returned is [autorelease]?
Thanks