remove unnecessary property

This commit is contained in:
Lukas Spieß 2014-03-28 12:39:06 +01:00
parent c62b444272
commit 50b0eb9bd1
2 changed files with 3 additions and 8 deletions

View File

@ -173,10 +173,6 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
* the debugger during runtime, this may cause issues the Mach exception handler is enabled!
* @see isDebuggerAttached
*/
@property (nonatomic, assign) BITCrashManagerUserInput crashManagerUserInput;
@property (nonatomic, assign, getter=isMachExceptionHandlerEnabled) BOOL enableMachExceptionHandler;

View File

@ -930,12 +930,11 @@ NSString *const kBITCrashManagerStatus = @"BITCrashManagerStatus";
#pragma mark - UIAlertView Delegate
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
_crashManagerUserInput = buttonIndex;
[self handleUserInput];
[self handleUserInput:buttonIndex];
}
- (void)handleUserInput {
switch (_crashManagerUserInput) {
- (void)handleUserInput:(BITCrashManagerUserInput)userInput {
switch (userInput) {
case BITCrashManagerUserInputDontSend:
if (self.delegate != nil && [self.delegate respondsToSelector:@selector(crashManagerWillCancelSendingCrashReport:)]) {
[self.delegate crashManagerWillCancelSendingCrashReport:self];