From 3accd90d51c78e1550d2c8b3c6ee8d9bf3174032 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Mon, 7 Sep 2020 23:19:13 -0500 Subject: [PATCH] Modern Slider. --- Clocker/Clocker.xcodeproj/project.pbxproj | 11 +++ Clocker/Clocker/en.lproj/Panel.xib | 91 +++++++++++++++++------ Clocker/Panel/ParentPanelController.swift | 27 +++++++ Clocker/Panel/UI/HourMarkerViewItem.swift | 15 ++++ Clocker/Panel/UI/HourMarkerViewItem.xib | 51 +++++++++++++ 5 files changed, 173 insertions(+), 22 deletions(-) create mode 100644 Clocker/Panel/UI/HourMarkerViewItem.swift create mode 100644 Clocker/Panel/UI/HourMarkerViewItem.xib diff --git a/Clocker/Clocker.xcodeproj/project.pbxproj b/Clocker/Clocker.xcodeproj/project.pbxproj index 3f3dcf3..5bd4fdd 100755 --- a/Clocker/Clocker.xcodeproj/project.pbxproj +++ b/Clocker/Clocker.xcodeproj/project.pbxproj @@ -7,6 +7,8 @@ objects = { /* Begin PBXBuildFile section */ + 357391872507277500D30819 /* HourMarkerViewItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 357391852507277500D30819 /* HourMarkerViewItem.swift */; }; + 357391882507277500D30819 /* HourMarkerViewItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = 357391862507277500D30819 /* HourMarkerViewItem.xib */; }; 3595FAD0227F88BC0044A12A /* UserDefaults + KVOExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3595FACF227F88BC0044A12A /* UserDefaults + KVOExtensions.swift */; }; 35C11E2124873A550031F18C /* VersionUpdateHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35C11E2024873A550031F18C /* VersionUpdateHandler.swift */; }; 35C36EE422595EFD002FA5C6 /* StatusContainerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35C36EE022595EFD002FA5C6 /* StatusContainerView.swift */; }; @@ -225,6 +227,8 @@ 352AF497232E07B400D96FA7 /* hi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hi; path = hi.lproj/InfoPlist.strings; sourceTree = ""; }; 352AF499232E07B400D96FA7 /* hi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hi; path = hi.lproj/Localizable.strings; sourceTree = ""; }; 3545C52A22612BCC00121E25 /* RateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RateTests.swift; sourceTree = ""; }; + 357391852507277500D30819 /* HourMarkerViewItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HourMarkerViewItem.swift; sourceTree = ""; }; + 357391862507277500D30819 /* HourMarkerViewItem.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = HourMarkerViewItem.xib; sourceTree = ""; }; 3595FACF227F88BC0044A12A /* UserDefaults + KVOExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UserDefaults + KVOExtensions.swift"; sourceTree = ""; }; 35C11E2024873A550031F18C /* VersionUpdateHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VersionUpdateHandler.swift; sourceTree = ""; }; 35C36EE022595EFD002FA5C6 /* StatusContainerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatusContainerView.swift; sourceTree = ""; }; @@ -602,6 +606,8 @@ 35C36F552259DD8A002FA5C6 /* TimezoneCellView.swift */, 35C36F532259DD8A002FA5C6 /* TimezoneDataSource.swift */, 35C36F322259D7C3002FA5C6 /* AddTableViewCell.swift */, + 357391852507277500D30819 /* HourMarkerViewItem.swift */, + 357391862507277500D30819 /* HourMarkerViewItem.xib */, ); path = UI; sourceTree = ""; @@ -1107,6 +1113,7 @@ buildActionMask = 2147483647; files = ( 9A13BAEA1CA88A76007C6CBE /* Localizable.strings in Resources */, + 357391882507277500D30819 /* HourMarkerViewItem.xib in Resources */, 9AB6F15E2259D08300A44663 /* iVersion.bundle in Resources */, 35C36F972259EBB1002FA5C6 /* AppFeedbackWindow.xib in Resources */, 9A13BAE01CA882FA007C6CBE /* InfoPlist.strings in Resources */, @@ -1212,6 +1219,7 @@ 35C36EE622595EFD002FA5C6 /* StatusItemView.swift in Sources */, 35C36FA12259ED6D002FA5C6 /* EventCenter.swift in Sources */, 9A5951BD1C1D0A8D009C17AA /* CommonStrings.m in Sources */, + 357391872507277500D30819 /* HourMarkerViewItem.swift in Sources */, 35C36EE422595EFD002FA5C6 /* StatusContainerView.swift in Sources */, 35C36F782259E1D0002FA5C6 /* Foundation + Additions.swift in Sources */, 35C36F16225961DA002FA5C6 /* Date+Inits.swift in Sources */, @@ -1439,6 +1447,7 @@ 9A5B1A8C1BECDB5B00A77C68 /* Distribution */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(NATIVE_ARCH_ACTUAL)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = "Accent Color"; CLANG_ENABLE_MODULES = YES; @@ -1925,6 +1934,7 @@ DD4F7C2313C30F9F00825C6E /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(NATIVE_ARCH_ACTUAL)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = "Accent Color"; CLANG_ENABLE_MODULES = YES; @@ -1989,6 +1999,7 @@ DD4F7C2413C30F9F00825C6E /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = "$(NATIVE_ARCH_ACTUAL)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = "Accent Color"; CLANG_ENABLE_MODULES = YES; diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib index 670ded6..38aaacf 100755 --- a/Clocker/Clocker/en.lproj/Panel.xib +++ b/Clocker/Clocker/en.lproj/Panel.xib @@ -1,8 +1,8 @@ - + - + @@ -16,6 +16,7 @@ + @@ -40,20 +41,20 @@ - + - + - + - + - + @@ -72,11 +73,11 @@ - + - + @@ -87,7 +88,7 @@ - + @@ -99,7 +100,7 @@ - + @@ -111,7 +112,7 @@ - + @@ -122,7 +123,7 @@ - + @@ -130,7 +131,7 @@ - + @@ -208,11 +209,11 @@ - +