Developer Area

Changeset 387

Show
Ignore:
Timestamp:
06/08/09 11:29:43 (5 years ago)
Author:
henri
Message:

Small refactoring regarding usage of current selector

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/superbook/trunk/Classes/NaptrViewController.m

    r385 r387  
    141141        // Must call this on main thread, because it has UI needs and is called from background threads 
    142142        if (![NSThread isMainThread]) { 
    143                 [self performSelectorOnMainThread:@selector(decrementLoadingCount) 
     143                [self performSelectorOnMainThread:_cmd 
    144144                                                           withObject:nil 
    145145                                                        waitUntilDone:YES]; 
     
    645645- (void)showError:(NSError *)error { 
    646646        if (![NSThread isMainThread]) { 
    647                 [self performSelectorOnMainThread:@selector(showError:) 
     647                [self performSelectorOnMainThread:_cmd 
    648648                                                           withObject:error 
    649649                                                        waitUntilDone:NO]; 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us