diff --git a/Clocker.xcodeproj/project.pbxproj b/Clocker.xcodeproj/project.pbxproj index 57c7845..36a53a7 100755 --- a/Clocker.xcodeproj/project.pbxproj +++ b/Clocker.xcodeproj/project.pbxproj @@ -34,7 +34,6 @@ 9A4379271BEC223900F4E27F /* Fabric.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A4379231BEC223900F4E27F /* Fabric.framework */; }; 9A43792A1BEC230A00F4E27F /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A4379291BEC230A00F4E27F /* libc++.tbd */; }; 9A43792C1BEC231100F4E27F /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A43792B1BEC231100F4E27F /* libz.tbd */; }; - 9A43792E1BEC256200F4E27F /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9A43792D1BEC256200F4E27F /* Media.xcassets */; }; 9A56DB801C1CFB73004CE6AF /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9A56DB7D1C1CFB73004CE6AF /* MainMenu.xib */; }; 9A5951BA1C1D0A22009C17AA /* Crashlytics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A5951B91C1D0A22009C17AA /* Crashlytics.framework */; }; 9A5951BD1C1D0A8D009C17AA /* CommonStrings.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A5951BB1C1D0A8D009C17AA /* CommonStrings.m */; }; @@ -72,7 +71,12 @@ 9A9E87681C1FEDD300A7A2DF /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A9E87671C1FEDD300A7A2DF /* Security.framework */; }; 9A9E876A1C1FEDDB00A7A2DF /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A9E87691C1FEDDB00A7A2DF /* SystemConfiguration.framework */; }; 9A9E876C1C1FEDE700A7A2DF /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A9E876B1C1FEDE700A7A2DF /* libsqlite3.tbd */; }; + 9AA4AC8C1CEC0FA60054ACB7 /* FloatingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AA4AC871CEC0FA60054ACB7 /* FloatingView.m */; }; + 9AA4AC8D1CEC0FA60054ACB7 /* CLShortcutAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AA4AC891CEC0FA60054ACB7 /* CLShortcutAnimatedView.m */; }; + 9AA4AC8E1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AA4AC8B1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.m */; }; + 9AA4AC911CEC112E0054ACB7 /* QCMethod.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AA4AC901CEC112E0054ACB7 /* QCMethod.m */; }; 9AB2420B1CB723650017C17C /* CLFloatingWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9AB2420D1CB723650017C17C /* CLFloatingWindow.xib */; }; + 9AB89E031CE97A4900EC8EB1 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9AB89E021CE97A4900EC8EB1 /* Media.xcassets */; }; 9AB9357B1C1AD8F7001285A0 /* CLRatingCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AB9357A1C1AD8F7001285A0 /* CLRatingCellView.m */; }; 9ABA2B031C671D49009DC0EF /* CLMainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9ABA2B021C671D49009DC0EF /* CLMainWindowController.m */; }; 9ABF58721C29A80600BD0187 /* CLTimezoneData.m in Sources */ = {isa = PBXBuildFile; fileRef = 9ABF58711C29A80600BD0187 /* CLTimezoneData.m */; }; @@ -80,9 +84,6 @@ 9AC678E41C1ABAB9003B4F6B /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AC678E31C1ABAB9003B4F6B /* QuartzCore.framework */; }; 9ACE03EF1CB0ADE00039FC01 /* Firebase.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9ACE03EE1CB0ADE00039FC01 /* Firebase.framework */; }; 9AD6DE571CE114DA007A8401 /* CLScaleUpButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AD6DE561CE114DA007A8401 /* CLScaleUpButton.m */; }; - 9AD6DE651CE18EB4007A8401 /* CLArrowIndicators.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AD6DE641CE18EB4007A8401 /* CLArrowIndicators.m */; }; - 9AE1FFE21CE28CF500827C80 /* CLAnimatedImages.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AE1FFDF1CE28CF500827C80 /* CLAnimatedImages.m */; }; - 9AE1FFE31CE28CF500827C80 /* QCMethod.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AE1FFE11CE28CF500827C80 /* QCMethod.m */; }; 9AF9A16B1C250AB300EE7C2A /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AF9A16A1C250AB300EE7C2A /* Reachability.m */; }; DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD4F7C0813C30F9F00825C6E /* Cocoa.framework */; }; /* End PBXBuildFile section */ @@ -238,7 +239,6 @@ 9A4379231BEC223900F4E27F /* Fabric.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Fabric.framework; sourceTree = ""; }; 9A4379291BEC230A00F4E27F /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; 9A43792B1BEC231100F4E27F /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; - 9A43792D1BEC256200F4E27F /* Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Media.xcassets; sourceTree = ""; }; 9A56DB7D1C1CFB73004CE6AF /* MainMenu.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = MainMenu.xib; path = Clocker/MainMenu.xib; sourceTree = ""; }; 9A5951B91C1D0A22009C17AA /* Crashlytics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Crashlytics.framework; path = Frameworks/Crashlytics.framework; sourceTree = ""; }; 9A5951BB1C1D0A8D009C17AA /* CommonStrings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CommonStrings.m; path = Clocker/Utilities/CommonStrings.m; sourceTree = ""; }; @@ -320,9 +320,18 @@ 9A9E87671C1FEDD300A7A2DF /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; 9A9E87691C1FEDDB00A7A2DF /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; 9A9E876B1C1FEDE700A7A2DF /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; + 9AA4AC861CEC0FA60054ACB7 /* FloatingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FloatingView.h; path = "Clocker/Onboarding/Onboarding Animated Views/FloatingView.h"; sourceTree = ""; }; + 9AA4AC871CEC0FA60054ACB7 /* FloatingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FloatingView.m; path = "Clocker/Onboarding/Onboarding Animated Views/FloatingView.m"; sourceTree = ""; }; + 9AA4AC881CEC0FA60054ACB7 /* CLShortcutAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLShortcutAnimatedView.h; path = "Clocker/Onboarding/Onboarding Animated Views/CLShortcutAnimatedView.h"; sourceTree = ""; }; + 9AA4AC891CEC0FA60054ACB7 /* CLShortcutAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLShortcutAnimatedView.m; path = "Clocker/Onboarding/Onboarding Animated Views/CLShortcutAnimatedView.m"; sourceTree = ""; }; + 9AA4AC8A1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLFavouriteAnimatedView.h; path = "Clocker/Onboarding/Onboarding Animated Views/CLFavouriteAnimatedView.h"; sourceTree = ""; }; + 9AA4AC8B1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLFavouriteAnimatedView.m; path = "Clocker/Onboarding/Onboarding Animated Views/CLFavouriteAnimatedView.m"; sourceTree = ""; }; + 9AA4AC8F1CEC11270054ACB7 /* QCMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = QCMethod.h; path = "Clocker/Onboarding/Onboarding Animated Views/QCMethod.h"; sourceTree = ""; }; + 9AA4AC901CEC112E0054ACB7 /* QCMethod.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = QCMethod.m; path = "Clocker/Onboarding/Onboarding Animated Views/QCMethod.m"; sourceTree = ""; }; 9AB2420C1CB723650017C17C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/CLFloatingWindow.xib; sourceTree = ""; }; 9AB2420F1CB723670017C17C /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/CLFloatingWindow.xib; sourceTree = ""; }; 9AB242101CB723690017C17C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hans"; path = "zh-Hans.lproj/CLFloatingWindow.xib"; sourceTree = ""; }; + 9AB89E021CE97A4900EC8EB1 /* Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Media.xcassets; sourceTree = ""; }; 9AB935791C1AD8F7001285A0 /* CLRatingCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRatingCellView.h; path = Clocker/CLRatingCellView.h; sourceTree = ""; }; 9AB9357A1C1AD8F7001285A0 /* CLRatingCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLRatingCellView.m; path = Clocker/CLRatingCellView.m; sourceTree = ""; }; 9ABA2B011C671D49009DC0EF /* CLMainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLMainWindowController.h; path = Clocker/CLMainWindowController.h; sourceTree = ""; }; @@ -334,12 +343,6 @@ 9ACE03EE1CB0ADE00039FC01 /* Firebase.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Firebase.framework; path = Frameworks/Firebase.framework; sourceTree = ""; }; 9AD6DE551CE114DA007A8401 /* CLScaleUpButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLScaleUpButton.h; path = Clocker/CLScaleUpButton.h; sourceTree = ""; }; 9AD6DE561CE114DA007A8401 /* CLScaleUpButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLScaleUpButton.m; path = Clocker/CLScaleUpButton.m; sourceTree = ""; }; - 9AD6DE631CE18EB4007A8401 /* CLArrowIndicators.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLArrowIndicators.h; path = Clocker/CLArrowIndicators.h; sourceTree = ""; }; - 9AD6DE641CE18EB4007A8401 /* CLArrowIndicators.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLArrowIndicators.m; path = Clocker/CLArrowIndicators.m; sourceTree = ""; }; - 9AE1FFDE1CE28CF500827C80 /* CLAnimatedImages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLAnimatedImages.h; path = Clocker/CLAnimatedImages.h; sourceTree = ""; }; - 9AE1FFDF1CE28CF500827C80 /* CLAnimatedImages.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLAnimatedImages.m; path = Clocker/CLAnimatedImages.m; sourceTree = ""; }; - 9AE1FFE01CE28CF500827C80 /* QCMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = QCMethod.h; path = Clocker/QCMethod.h; sourceTree = ""; }; - 9AE1FFE11CE28CF500827C80 /* QCMethod.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = QCMethod.m; path = Clocker/QCMethod.m; sourceTree = ""; }; 9AF9A1691C250AB300EE7C2A /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Reachability.h; path = Clocker/Reachability/Reachability.h; sourceTree = ""; }; 9AF9A16A1C250AB300EE7C2A /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Reachability.m; path = Clocker/Reachability/Reachability.m; sourceTree = ""; }; DD4F7C0413C30F9F00825C6E /* Clocker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Clocker.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -394,8 +397,6 @@ 9A10C68E1CDAC8B500D474F1 /* CLPanelTextField.m */, 9AD6DE551CE114DA007A8401 /* CLScaleUpButton.h */, 9AD6DE561CE114DA007A8401 /* CLScaleUpButton.m */, - 9AD6DE631CE18EB4007A8401 /* CLArrowIndicators.h */, - 9AD6DE641CE18EB4007A8401 /* CLArrowIndicators.m */, ); name = Utilties; sourceTree = ""; @@ -583,6 +584,21 @@ name = "Date Tools"; sourceTree = ""; }; + 9AA4AC851CEC0EE40054ACB7 /* Onboarding Animated Views */ = { + isa = PBXGroup; + children = ( + 9AA4AC901CEC112E0054ACB7 /* QCMethod.m */, + 9AA4AC8F1CEC11270054ACB7 /* QCMethod.h */, + 9AA4AC861CEC0FA60054ACB7 /* FloatingView.h */, + 9AA4AC871CEC0FA60054ACB7 /* FloatingView.m */, + 9AA4AC881CEC0FA60054ACB7 /* CLShortcutAnimatedView.h */, + 9AA4AC891CEC0FA60054ACB7 /* CLShortcutAnimatedView.m */, + 9AA4AC8A1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.h */, + 9AA4AC8B1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.m */, + ); + name = "Onboarding Animated Views"; + sourceTree = ""; + }; 9ABF586F1C29A7EB00BD0187 /* Model */ = { isa = PBXGroup; children = ( @@ -604,17 +620,14 @@ DD4F7BF913C30F9F00825C6E = { isa = PBXGroup; children = ( - 9AE1FFDE1CE28CF500827C80 /* CLAnimatedImages.h */, - 9AE1FFDF1CE28CF500827C80 /* CLAnimatedImages.m */, - 9AE1FFE01CE28CF500827C80 /* QCMethod.h */, - 9AE1FFE11CE28CF500827C80 /* QCMethod.m */, + 9AA4AC851CEC0EE40054ACB7 /* Onboarding Animated Views */, + 9AB89E021CE97A4900EC8EB1 /* Media.xcassets */, 9A86E2B51CE04F1600547EE7 /* ShortcutRecorder.xcodeproj */, 9A5E6B9C1CAF7174006E7C5C /* Firebase */, 9A87DA4F1C358F8200A8CF3B /* Date Tools */, 9ABF586F1C29A7EB00BD0187 /* Model */, 9AF9A1681C250AA300EE7C2A /* Reachability */, 9A5B1A8D1BECDFB700A77C68 /* Clocker.entitlements */, - 9A43792D1BEC256200F4E27F /* Media.xcassets */, 9A2000C61BFBCEF6002BFDE8 /* Utilties */, 9A8605E01BEC15F400A810A4 /* XIB */, 9A5951F01C1D3D35009C17AA /* Table Cell Views */, @@ -838,9 +851,9 @@ 9A13BAE01CA882FA007C6CBE /* InfoPlist.strings in Resources */, 9A13BACA1CA877A6007C6CBE /* CLPreferencesView.xib in Resources */, 9A20A07F1C4EAAEB00FB45AB /* CLIntroView.xib in Resources */, + 9AB89E031CE97A4900EC8EB1 /* Media.xcassets in Resources */, 9A13BAD61CA87F08007C6CBE /* Panel.xib in Resources */, 9A5E6BAB1CAF8DFA006E7C5C /* iRate.bundle in Resources */, - 9A43792E1BEC256200F4E27F /* Media.xcassets in Resources */, 9A13BAC61CA86A88007C6CBE /* CLAboutUsView.xib in Resources */, 9A13BACE1CA879E5007C6CBE /* CLAppearanceView.xib in Resources */, 9A13BADA1CA87F3F007C6CBE /* CLOneWindow.xib in Resources */, @@ -882,25 +895,26 @@ 9A87DAC81C358FA800A8CF3B /* DTTimePeriodChain.m in Sources */, 9A87DAC71C358FA800A8CF3B /* DTTimePeriod.m in Sources */, 9A3247321C25FD3A00CF6B6E /* CLCustomSliderCell.m in Sources */, + 9AA4AC8C1CEC0FA60054ACB7 /* FloatingView.m in Sources */, 9A392EED1C1CE9950072C10A /* CLPreferencesViewController.m in Sources */, 9A5951BD1C1D0A8D009C17AA /* CommonStrings.m in Sources */, 9A5951FA1C1D5214009C17AA /* iVersion.m in Sources */, 9A87DAC61C358FA800A8CF3B /* DTError.m in Sources */, 9A20A0781C4EA53600FB45AB /* CLOnboardingWindowController.m in Sources */, + 9AA4AC8D1CEC0FA60054ACB7 /* CLShortcutAnimatedView.m in Sources */, 9A87DACA1C358FA800A8CF3B /* DTTimePeriodGroup.m in Sources */, + 9AA4AC8E1CEC0FA60054ACB7 /* CLFavouriteAnimatedView.m in Sources */, 9A25F7471C1A5E17007D369B /* iRate.m in Sources */, 9A8605C01BEC14F600A810A4 /* Panel.m in Sources */, - 9AD6DE651CE18EB4007A8401 /* CLArrowIndicators.m in Sources */, - 9AE1FFE21CE28CF500827C80 /* CLAnimatedImages.m in Sources */, 9A8605BA1BEC14DC00A810A4 /* StatusItemView.m in Sources */, 9A87DAC91C358FA800A8CF3B /* DTTimePeriodCollection.m in Sources */, 9A3247391C263F4F00CF6B6E /* CLAppearanceViewController.m in Sources */, 9A86E2B41CE0351C00547EE7 /* EDSunriseSet.m in Sources */, 9ABA2B031C671D49009DC0EF /* CLMainWindowController.m in Sources */, 9A9E63861C2C673E009A299B /* CLAppFeedbackWindowController.m in Sources */, + 9AA4AC911CEC112E0054ACB7 /* QCMethod.m in Sources */, 9A8605BB1BEC14DC00A810A4 /* PanelController.m in Sources */, 9A8605B61BEC14BE00A810A4 /* MenubarController.m in Sources */, - 9AE1FFE31CE28CF500827C80 /* QCMethod.m in Sources */, 9A42394F1CB0616400A8E51A /* CLFloatingWindowController.m in Sources */, 9A10C68F1CDAC8B500D474F1 /* CLPanelTextField.m in Sources */, 9A5951C01C1D0AA0009C17AA /* CLOneWindowController.m in Sources */, diff --git a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate index 4366b0a..de2d882 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.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker.xcscheme b/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker.xcscheme index 37c7d46..db70ec3 100644 --- a/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker.xcscheme +++ b/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker.xcscheme @@ -52,7 +52,7 @@ debugServiceExtension = "internal" allowLocationSimulation = "YES" showNonLocalizedStrings = "YES" - region = "DE"> + region = "US"> - + diff --git a/Clocker/Appearance Tab/zh-Hant.lproj/CLAppearanceView.xib b/Clocker/Appearance Tab/zh-Hant.lproj/CLAppearanceView.xib index 4710999..1a95c30 100644 --- a/Clocker/Appearance Tab/zh-Hant.lproj/CLAppearanceView.xib +++ b/Clocker/Appearance Tab/zh-Hant.lproj/CLAppearanceView.xib @@ -19,7 +19,7 @@ - + @@ -31,9 +31,9 @@ - + - + @@ -43,7 +43,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -72,7 +72,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -133,7 +133,7 @@ - + @@ -148,7 +148,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -194,7 +194,7 @@ - + @@ -205,13 +205,13 @@ - + - + @@ -226,7 +226,7 @@ - + @@ -256,7 +256,7 @@ - + @@ -273,10 +273,10 @@ - + - + @@ -303,7 +303,7 @@ - + @@ -320,7 +320,7 @@ - + @@ -337,7 +337,7 @@ - + diff --git a/Clocker/CLScaleUpButton.h b/Clocker/CLScaleUpButton.h index 6423b28..5ab2553 100644 --- a/Clocker/CLScaleUpButton.h +++ b/Clocker/CLScaleUpButton.h @@ -11,5 +11,6 @@ @interface CLScaleUpButton : NSButton @property (strong, nonatomic) NSTrackingArea *trackingArea; +@property (nonatomic, strong) IBInspectable NSColor *textColor; @end diff --git a/Clocker/CLScaleUpButton.m b/Clocker/CLScaleUpButton.m index ae70294..e3e7797 100644 --- a/Clocker/CLScaleUpButton.m +++ b/Clocker/CLScaleUpButton.m @@ -11,16 +11,45 @@ @implementation CLScaleUpButton -- (void)drawRect:(NSRect)dirtyRect { +- (void)drawRect:(NSRect)dirtyRect +{ [super drawRect:dirtyRect]; + NSButtonCell *cell = [self cell]; + + cell.backgroundColor = [NSColor clearColor]; + + // Drawing code here. } +- (void)awakeFromNib +{ + if (self.textColor) + { + NSMutableParagraphStyle *style = [[NSMutableParagraphStyle alloc] init]; + [style setAlignment:NSCenterTextAlignment]; + NSDictionary *attrsDictionary = [NSDictionary dictionaryWithObjectsAndKeys: + self.textColor, NSForegroundColorAttributeName, + self.font, NSFontAttributeName, + style, NSParagraphStyleAttributeName, nil]; + NSAttributedString *attrString = [[NSAttributedString alloc]initWithString:self.title attributes:attrsDictionary]; + [self setAttributedTitle:attrString]; + } + + [self addScaleAnimation]; +} + -(void)mouseEntered:(NSEvent *)theEvent { [super mouseEntered:theEvent]; + [self addScaleAnimation]; + +} + +- (void) addScaleAnimation +{ POPSpringAnimation *scale = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerScaleXY]; scale.velocity = [NSValue valueWithCGPoint:CGPointMake(1, 1)]; scale.springBounciness = 20.f; diff --git a/Clocker/Onboarding/CLIntroView.xib b/Clocker/Onboarding/CLIntroView.xib index 4b639c3..364ae60 100644 --- a/Clocker/Onboarding/CLIntroView.xib +++ b/Clocker/Onboarding/CLIntroView.xib @@ -6,53 +6,27 @@ - + + + - + - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + - + diff --git a/Clocker/en.lproj/Panel.xib b/Clocker/en.lproj/Panel.xib index 767dd28..d1b8379 100755 --- a/Clocker/en.lproj/Panel.xib +++ b/Clocker/en.lproj/Panel.xib @@ -97,7 +97,7 @@ - + @@ -105,10 +105,10 @@ - + - + @@ -123,7 +123,7 @@ - +