diff --git a/Clocker.xcodeproj/project.pbxproj b/Clocker.xcodeproj/project.pbxproj index aae3012..03493c1 100755 --- a/Clocker.xcodeproj/project.pbxproj +++ b/Clocker.xcodeproj/project.pbxproj @@ -386,7 +386,7 @@ CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -441,7 +441,7 @@ CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COPY_PHASE_STRIP = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -481,7 +481,7 @@ CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; diff --git a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate index ac7a369..bad41f7 100644 Binary files a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate and b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Clocker/Clocker-Info.plist b/Clocker/Clocker-Info.plist index 8198738..fe92cc8 100755 --- a/Clocker/Clocker-Info.plist +++ b/Clocker/Clocker-Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? CFBundleVersion - 12 + 13 Fabric APIKey diff --git a/Clocker/Panel.xib b/Clocker/Panel.xib index 776c814..5ad46fb 100755 --- a/Clocker/Panel.xib +++ b/Clocker/Panel.xib @@ -85,13 +85,13 @@ - + - + @@ -104,7 +104,7 @@ - + diff --git a/Clocker/PanelController.m b/Clocker/PanelController.m index d53e58b..e44f573 100755 --- a/Clocker/PanelController.m +++ b/Clocker/PanelController.m @@ -327,7 +327,6 @@ NSDate *timezoneDate = [formatter dateFromString:date]; if (localDate == nil || timezoneDate == nil) { - [[Crashlytics sharedInstance] crash]; [CrashlyticsKit setUserEmail:systemDate]; [CrashlyticsKit setUserIdentifier:date]; NSLog(@"One of the dates is nil"); @@ -372,7 +371,6 @@ - (BOOL)tableView:(NSTableView *)tableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard { - NSData *data = [NSKeyedArchiver archivedDataWithRootObject:rowIndexes]; [pboard declareTypes:[NSArray arrayWithObject:@"public.text"] owner:self]; diff --git a/Clocker/PreferencesWindowController.m b/Clocker/PreferencesWindowController.m index 0122797..9ab2639 100644 --- a/Clocker/PreferencesWindowController.m +++ b/Clocker/PreferencesWindowController.m @@ -173,9 +173,16 @@ static PreferencesWindowController *sharedPreferences = nil; - (IBAction)addToFavorites:(id)sender { + if (self.availableTimezoneTableView.selectedRow == -1) + { + self.messageLabel.stringValue = @"Please select a timezone!"; + [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(clearLabel) userInfo:nil repeats:NO]; + return; + } + NSString *selectedTimezone; - if (self.selectedTimeZones.count > 9) + if (self.selectedTimeZones.count > 10) { self.messageLabel.stringValue = NSLocalizedString(@"MaximumTimezoneMessage", nil); [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(clearLabel) userInfo:nil repeats:NO]; diff --git a/Clocker/StatusItemView.m b/Clocker/StatusItemView.m index 70bad43..1c8a567 100755 --- a/Clocker/StatusItemView.m +++ b/Clocker/StatusItemView.m @@ -44,6 +44,7 @@ CGFloat itemWidth = [statusItem length]; CGFloat itemHeight = [[NSStatusBar systemStatusBar] thickness]; NSRect itemRect = NSMakeRect(0.0, 0.0, itemWidth, itemHeight); + self = [super initWithFrame:itemRect]; if (self != nil) { @@ -79,9 +80,6 @@ NSPoint iconPoint = NSMakePoint(iconX, iconY); [icon drawAtPoint:iconPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0]; - - - } #pragma mark - diff --git a/Crashlytics.framework/Versions/A/Crashlytics b/Crashlytics.framework/Versions/A/Crashlytics index 26ba877..ce2961d 100755 Binary files a/Crashlytics.framework/Versions/A/Crashlytics and b/Crashlytics.framework/Versions/A/Crashlytics differ diff --git a/Crashlytics.framework/Versions/A/Resources/Info.plist b/Crashlytics.framework/Versions/A/Resources/Info.plist index bf1b23c..2763431 100644 --- a/Crashlytics.framework/Versions/A/Resources/Info.plist +++ b/Crashlytics.framework/Versions/A/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.4.0 + 3.4.1 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -29,7 +29,7 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 7B91b + 7B1005 DTPlatformVersion GM DTSDKBuild @@ -37,9 +37,9 @@ DTSDKName macosx10.11 DTXcode - 0710 + 0711 DTXcodeBuild - 7B91b + 7B1005 NSHumanReadableCopyright Copyright © 2015 Crashlytics, Inc. All rights reserved. UIDeviceFamily diff --git a/Crashlytics.framework/submit b/Crashlytics.framework/submit index b00c49a..8af3772 100755 Binary files a/Crashlytics.framework/submit and b/Crashlytics.framework/submit differ diff --git a/Crashlytics.framework/uploadDSYM b/Crashlytics.framework/uploadDSYM index 8904882..4f21f47 100755 Binary files a/Crashlytics.framework/uploadDSYM and b/Crashlytics.framework/uploadDSYM differ diff --git a/Fabric.framework/Versions/A/Fabric b/Fabric.framework/Versions/A/Fabric index ee5573e..e1b5349 100755 Binary files a/Fabric.framework/Versions/A/Fabric and b/Fabric.framework/Versions/A/Fabric differ diff --git a/Fabric.framework/Versions/A/Resources/Info.plist b/Fabric.framework/Versions/A/Resources/Info.plist index 47d7c63..9d1e8e7 100644 --- a/Fabric.framework/Versions/A/Resources/Info.plist +++ b/Fabric.framework/Versions/A/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.6.0 + 1.6.1 CFBundleSignature ???? CFBundleSupportedPlatforms diff --git a/Fabric.framework/uploadDSYM b/Fabric.framework/uploadDSYM index a996039..699eefb 100755 Binary files a/Fabric.framework/uploadDSYM and b/Fabric.framework/uploadDSYM differ