소스 검색

Fixed spacing in dealloc methods.

Brian Nickel 10 년 전
부모
커밋
1accc9869e
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m
  2. 2 2
      UIKit+AFNetworking/UIRefreshControl+AFNetworking.m

+ 2 - 2
UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m

@@ -153,9 +153,9 @@
 
 
 #pragma mark -
 #pragma mark -
 
 
--(void)dealloc
-{
+- (void)dealloc {
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
+    
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];

+ 2 - 2
UIKit+AFNetworking/UIRefreshControl+AFNetworking.m

@@ -148,9 +148,9 @@
 
 
 #pragma mark -
 #pragma mark -
 
 
--(void)dealloc
-{
+- (void)dealloc {
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
     NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
+    
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
     [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];