Naming convention cleanup

This commit is contained in:
Andreas Linde 2014-04-27 20:20:10 +02:00
parent bf7d80682f
commit 38a59fc73f
3 changed files with 5 additions and 9 deletions

View File

@ -37,7 +37,7 @@
/**
* Custom block that handles the alert that prompts the user whether he wants to send crash reports
*/
typedef void(^CustomAlertViewHandler)();
typedef void(^BITCustomAlertViewHandler)();
/**
@ -347,7 +347,7 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
@warning Block needs to call the `handleUserInput:withUserProvidedCrashDescription` method!
*/
- (void) setAlertViewHandler:(CustomAlertViewHandler)alertViewHandler;
- (void) setAlertViewHandler:(BITCustomAlertViewHandler)alertViewHandler;
/**
Indicates if the app was killed while being in foreground from the iOS

View File

@ -95,12 +95,6 @@ static PLCrashReporterCallbacks plCrashCallbacks = {
};
@interface BITCrashManager ()
@property (nonatomic, copy, setter = setAlertViewHandler:) CustomAlertViewHandler alertViewHandler;
@end
@implementation BITCrashManager {
NSMutableDictionary *_approvedCrashReports;
@ -608,7 +602,7 @@ static PLCrashReporterCallbacks plCrashCallbacks = {
}
- (void)setAlertViewHandler:(CustomAlertViewHandler)alertViewHandler{
- (void)setAlertViewHandler:(BITCustomAlertViewHandler)alertViewHandler{
_alertViewHandler = alertViewHandler;
}

View File

@ -51,6 +51,8 @@
@property (nonatomic) NSString *lastCrashFilename;
@property (nonatomic, copy, setter = setAlertViewHandler:) BITCustomAlertViewHandler alertViewHandler;
#if HOCKEYSDK_FEATURE_AUTHENTICATOR
// Only set via BITAuthenticator