can anyone tell me what is different when i call a method using performSelectorOnMainThreadand calling the same method without performSelector.
For Exa.
-(void)sampleCALL{
..........
}
NOW Call this method using these two senario:
[[self performSelectorOnMainThread:@selector(sampleCALL) withObject:nil waitUntilDone:NO];];
or
[self sampleCALL]
How are these two methods performed? Please help me find this concept correctly.
source
share