Hey I am making application where the program constantly downloads webpage in background and compares it to the old one, so I need thread for this I did this to my function where it starts getting the webpage [self performSelectorInBackground
selector(testFunction) withObject:nil];
Yes, it keeps running the function, but I get error in console
Here is the test function
I get this error
Yes, it keeps running the function, but I get error in console
Here is the test function
Code:
-(void)testFunction
{
int i = 0;
while(true) {
[statusText setIntValue:i];
i++;
}
}
I get this error
Code:
2010-07-05 17:22:46.517 Checker[1797:4b0f] *** __NSAutoreleaseNoPool(): Object 0x10014ddb0 of class NSCFNumber autoreleased with no pool in place - just leaking