Skip to content

Commit 1ac73bd

Browse files
author
Ryan Maxwell
committed
remove externs from header - implementation detail - use the properties instead.
1 parent b8bde02 commit 1ac73bd

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

UIAlertController+Blocks.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#import <UIKit/UIKit.h>
3030

31-
extern NSInteger const UIAlertControllerBlocksCancelButtonIndex;
32-
extern NSInteger const UIAlertControllerBlocksDestructiveButtonIndex;
33-
extern NSInteger const UIAlertControllerBlocksFirstOtherButtonIndex;
34-
3531
typedef void (^UIAlertControllerCompletionBlock) (UIAlertController *controller, UIAlertAction *action, NSInteger buttonIndex);
3632

3733
@interface UIAlertController (Blocks)

UIAlertController+Blocks.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
#import "UIAlertController+Blocks.h"
3030

31-
NSInteger const UIAlertControllerBlocksCancelButtonIndex = 0;
32-
NSInteger const UIAlertControllerBlocksDestructiveButtonIndex = 1;
33-
NSInteger const UIAlertControllerBlocksFirstOtherButtonIndex = 2;
31+
static NSInteger const UIAlertControllerBlocksCancelButtonIndex = 0;
32+
static NSInteger const UIAlertControllerBlocksDestructiveButtonIndex = 1;
33+
static NSInteger const UIAlertControllerBlocksFirstOtherButtonIndex = 2;
3434

3535
@implementation UIAlertController (Blocks)
3636

0 commit comments

Comments
 (0)