diff --git a/Example/en.lproj/Localizable.strings b/Example/en.lproj/Localizable.strings index e280a8e..ad6eec4 100644 --- a/Example/en.lproj/Localizable.strings +++ b/Example/en.lproj/Localizable.strings @@ -6,5 +6,5 @@ */ -"ok" = "Ok"; +"Ok" = "Ok"; "cancel" = "Cancel"; diff --git a/SSDateTimePicker.podspec b/SSDateTimePicker.podspec index 83dd862..2728956 100644 --- a/SSDateTimePicker.podspec +++ b/SSDateTimePicker.podspec @@ -13,6 +13,7 @@ Pod::Spec.new do |spec| spec.platform = :ios, "15.0" spec.source = { :git => "https://github.com/SimformSolutionsPvtLtd/SSDateTimePicker.git", :tag => spec.version.to_s } spec.source_files = "Sources", "Sources/SSDateTimePicker/SSDateTimePicker/**/*.{swift, xcassets}" + spec.resources = "Sources/SSDateTimePicker/**/*.{xcassets,storyboard,xib,plist,json,strings,lproj}" spec.swift_versions = "5.9" end diff --git a/Sources/SSDateTimePicker/SSDateTimePicker.xcodeproj/project.pbxproj b/Sources/SSDateTimePicker/SSDateTimePicker.xcodeproj/project.pbxproj index 293b4a0..31c9611 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker.xcodeproj/project.pbxproj +++ b/Sources/SSDateTimePicker/SSDateTimePicker.xcodeproj/project.pbxproj @@ -9,33 +9,33 @@ /* Begin PBXBuildFile section */ 6507209C2B0F4D4500AC1FB6 /* SSDatePickerConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6507209B2B0F4D4500AC1FB6 /* SSDatePickerConfiguration.swift */; }; 6507209E2B0F538400AC1FB6 /* SSPickerConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6507209D2B0F538400AC1FB6 /* SSPickerConstants.swift */; }; - 650720A22B0F644000AC1FB6 /* WeekDatesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A12B0F644000AC1FB6 /* WeekDatesView.swift */; }; - 650720A62B0F6BE600AC1FB6 /* DateView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A52B0F6BE600AC1FB6 /* DateView.swift */; }; - 650720AA2B0F819F00AC1FB6 /* ImageConstant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A92B0F819F00AC1FB6 /* ImageConstant.swift */; }; + 650720A22B0F644000AC1FB6 /* SSWeekDatesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A12B0F644000AC1FB6 /* SSWeekDatesView.swift */; }; + 650720A62B0F6BE600AC1FB6 /* SSDateView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A52B0F6BE600AC1FB6 /* SSDateView.swift */; }; + 650720AA2B0F819F00AC1FB6 /* SSImageConstant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720A92B0F819F00AC1FB6 /* SSImageConstant.swift */; }; 650720B12B107F6C00AC1FB6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 650720B02B107F6C00AC1FB6 /* Assets.xcassets */; }; - 650720B32B10880900AC1FB6 /* MonthSelectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B22B10880900AC1FB6 /* MonthSelectionView.swift */; }; - 650720B52B10881900AC1FB6 /* YearSelectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B42B10881900AC1FB6 /* YearSelectionView.swift */; }; - 650720B82B10CB0300AC1FB6 /* Calendar+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B72B10CB0300AC1FB6 /* Calendar+Extension.swift */; }; - 650720BA2B10CB2800AC1FB6 /* DateComponents+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B92B10CB2800AC1FB6 /* DateComponents+Extension.swift */; }; - 650720BC2B10CB5000AC1FB6 /* Date+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720BB2B10CB5000AC1FB6 /* Date+Extension.swift */; }; - 650720BE2B10CB7300AC1FB6 /* DateFormatter+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720BD2B10CB7300AC1FB6 /* DateFormatter+Extension.swift */; }; - 650720C22B10CBC500AC1FB6 /* Color+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720C12B10CBC500AC1FB6 /* Color+Extension.swift */; }; + 650720B32B10880900AC1FB6 /* SSMonthSelectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B22B10880900AC1FB6 /* SSMonthSelectionView.swift */; }; + 650720B52B10881900AC1FB6 /* SSYearSelectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B42B10881900AC1FB6 /* SSYearSelectionView.swift */; }; + 650720B82B10CB0300AC1FB6 /* SSCalendar+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B72B10CB0300AC1FB6 /* SSCalendar+Extension.swift */; }; + 650720BA2B10CB2800AC1FB6 /* SSDateComponents+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720B92B10CB2800AC1FB6 /* SSDateComponents+Extension.swift */; }; + 650720BC2B10CB5000AC1FB6 /* SSDate+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720BB2B10CB5000AC1FB6 /* SSDate+Extension.swift */; }; + 650720BE2B10CB7300AC1FB6 /* SSDateFormatter+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720BD2B10CB7300AC1FB6 /* SSDateFormatter+Extension.swift */; }; + 650720C22B10CBC500AC1FB6 /* SSColor+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720C12B10CBC500AC1FB6 /* SSColor+Extension.swift */; }; 650720C62B13BE4D00AC1FB6 /* SSDatePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720C52B13BE4D00AC1FB6 /* SSDatePicker.swift */; }; 650720C82B146E9500AC1FB6 /* SSDatePickerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720C72B146E9500AC1FB6 /* SSDatePickerManager.swift */; }; - 650720CB2B181E5400AC1FB6 /* View+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720CA2B181E5400AC1FB6 /* View+Extension.swift */; }; - 650720CD2B18257600AC1FB6 /* CornerRadiusStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720CC2B18257600AC1FB6 /* CornerRadiusStyle.swift */; }; - 650720EF2B19FD7A00AC1FB6 /* ThemeButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720EE2B19FD7A00AC1FB6 /* ThemeButton.swift */; }; + 650720CB2B181E5400AC1FB6 /* SSView+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720CA2B181E5400AC1FB6 /* SSView+Extension.swift */; }; + 650720CD2B18257600AC1FB6 /* SSCornerRadiusStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720CC2B18257600AC1FB6 /* SSCornerRadiusStyle.swift */; }; + 650720EF2B19FD7A00AC1FB6 /* SSThemeButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720EE2B19FD7A00AC1FB6 /* SSThemeButton.swift */; }; 650720F52B1DAFFB00AC1FB6 /* SSTimePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720F42B1DAFFB00AC1FB6 /* SSTimePicker.swift */; }; 650720F72B1DDF3600AC1FB6 /* SSTimePickerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720F62B1DDF3600AC1FB6 /* SSTimePickerManager.swift */; }; 650720F92B1DE9FD00AC1FB6 /* SSTimeTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720F82B1DE9FD00AC1FB6 /* SSTimeTextField.swift */; }; 650720FB2B1DEF8300AC1FB6 /* SSTimePickerConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 650720FA2B1DEF8300AC1FB6 /* SSTimePickerConfiguration.swift */; }; - 651668582B20842000AD02A1 /* Int+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 651668572B20842000AD02A1 /* Int+Extension.swift */; }; + 651668582B20842000AD02A1 /* SSInt+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 651668572B20842000AD02A1 /* SSInt+Extension.swift */; }; 654A7F952B1F04DF00EB9B33 /* SSClockPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 654A7F942B1F04DF00EB9B33 /* SSClockPicker.swift */; }; 6579912D2B3016D100BE8B25 /* SSDateRangePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6579912C2B3016D100BE8B25 /* SSDateRangePicker.swift */; }; 6579912F2B3016F900BE8B25 /* SSMultiDatePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6579912E2B3016F900BE8B25 /* SSMultiDatePicker.swift */; }; - 657991332B30834400BE8B25 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 657991322B30834400BE8B25 /* Utils.swift */; }; - 65AB6AF22B28205E009EA7EC /* LocalizedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65AB6AF12B28205E009EA7EC /* LocalizedString.swift */; }; - 65AB6AF42B282280009EA7EC /* String+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65AB6AF32B282280009EA7EC /* String+Extension.swift */; }; + 657991332B30834400BE8B25 /* SSUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 657991322B30834400BE8B25 /* SSUtils.swift */; }; + 65AB6AF22B28205E009EA7EC /* SSLocalizedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65AB6AF12B28205E009EA7EC /* SSLocalizedString.swift */; }; + 65AB6AF42B282280009EA7EC /* SSString+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65AB6AF32B282280009EA7EC /* SSString+Extension.swift */; }; 65AB6B032B282A18009EA7EC /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 65AB6B052B282A18009EA7EC /* Localizable.strings */; }; 65E058102B0E2B260049A7BA /* DateTimePicker.docc in Sources */ = {isa = PBXBuildFile; fileRef = 65E0580F2B0E2B260049A7BA /* DateTimePicker.docc */; }; 65E058162B0E2B260049A7BA /* SSDateTimePicker.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65E0580B2B0E2B260049A7BA /* SSDateTimePicker.framework */; }; @@ -55,33 +55,33 @@ /* Begin PBXFileReference section */ 6507209B2B0F4D4500AC1FB6 /* SSDatePickerConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSDatePickerConfiguration.swift; sourceTree = ""; }; 6507209D2B0F538400AC1FB6 /* SSPickerConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSPickerConstants.swift; sourceTree = ""; }; - 650720A12B0F644000AC1FB6 /* WeekDatesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WeekDatesView.swift; sourceTree = ""; }; - 650720A52B0F6BE600AC1FB6 /* DateView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DateView.swift; sourceTree = ""; }; - 650720A92B0F819F00AC1FB6 /* ImageConstant.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageConstant.swift; sourceTree = ""; }; + 650720A12B0F644000AC1FB6 /* SSWeekDatesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSWeekDatesView.swift; sourceTree = ""; }; + 650720A52B0F6BE600AC1FB6 /* SSDateView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSDateView.swift; sourceTree = ""; }; + 650720A92B0F819F00AC1FB6 /* SSImageConstant.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSImageConstant.swift; sourceTree = ""; }; 650720B02B107F6C00AC1FB6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 650720B22B10880900AC1FB6 /* MonthSelectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MonthSelectionView.swift; sourceTree = ""; }; - 650720B42B10881900AC1FB6 /* YearSelectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YearSelectionView.swift; sourceTree = ""; }; - 650720B72B10CB0300AC1FB6 /* Calendar+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Calendar+Extension.swift"; sourceTree = ""; }; - 650720B92B10CB2800AC1FB6 /* DateComponents+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DateComponents+Extension.swift"; sourceTree = ""; }; - 650720BB2B10CB5000AC1FB6 /* Date+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Date+Extension.swift"; sourceTree = ""; }; - 650720BD2B10CB7300AC1FB6 /* DateFormatter+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DateFormatter+Extension.swift"; sourceTree = ""; }; - 650720C12B10CBC500AC1FB6 /* Color+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Color+Extension.swift"; sourceTree = ""; }; + 650720B22B10880900AC1FB6 /* SSMonthSelectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSMonthSelectionView.swift; sourceTree = ""; }; + 650720B42B10881900AC1FB6 /* SSYearSelectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSYearSelectionView.swift; sourceTree = ""; }; + 650720B72B10CB0300AC1FB6 /* SSCalendar+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSCalendar+Extension.swift"; sourceTree = ""; }; + 650720B92B10CB2800AC1FB6 /* SSDateComponents+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSDateComponents+Extension.swift"; sourceTree = ""; }; + 650720BB2B10CB5000AC1FB6 /* SSDate+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSDate+Extension.swift"; sourceTree = ""; }; + 650720BD2B10CB7300AC1FB6 /* SSDateFormatter+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSDateFormatter+Extension.swift"; sourceTree = ""; }; + 650720C12B10CBC500AC1FB6 /* SSColor+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSColor+Extension.swift"; sourceTree = ""; }; 650720C52B13BE4D00AC1FB6 /* SSDatePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSDatePicker.swift; sourceTree = ""; }; 650720C72B146E9500AC1FB6 /* SSDatePickerManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSDatePickerManager.swift; sourceTree = ""; }; - 650720CA2B181E5400AC1FB6 /* View+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View+Extension.swift"; sourceTree = ""; }; - 650720CC2B18257600AC1FB6 /* CornerRadiusStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CornerRadiusStyle.swift; sourceTree = ""; }; - 650720EE2B19FD7A00AC1FB6 /* ThemeButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThemeButton.swift; sourceTree = ""; }; + 650720CA2B181E5400AC1FB6 /* SSView+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSView+Extension.swift"; sourceTree = ""; }; + 650720CC2B18257600AC1FB6 /* SSCornerRadiusStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSCornerRadiusStyle.swift; sourceTree = ""; }; + 650720EE2B19FD7A00AC1FB6 /* SSThemeButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSThemeButton.swift; sourceTree = ""; }; 650720F42B1DAFFB00AC1FB6 /* SSTimePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSTimePicker.swift; sourceTree = ""; }; 650720F62B1DDF3600AC1FB6 /* SSTimePickerManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSTimePickerManager.swift; sourceTree = ""; }; 650720F82B1DE9FD00AC1FB6 /* SSTimeTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSTimeTextField.swift; sourceTree = ""; }; 650720FA2B1DEF8300AC1FB6 /* SSTimePickerConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSTimePickerConfiguration.swift; sourceTree = ""; }; - 651668572B20842000AD02A1 /* Int+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Int+Extension.swift"; sourceTree = ""; }; + 651668572B20842000AD02A1 /* SSInt+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSInt+Extension.swift"; sourceTree = ""; }; 654A7F942B1F04DF00EB9B33 /* SSClockPicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSClockPicker.swift; sourceTree = ""; }; 6579912C2B3016D100BE8B25 /* SSDateRangePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSDateRangePicker.swift; sourceTree = ""; }; 6579912E2B3016F900BE8B25 /* SSMultiDatePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSMultiDatePicker.swift; sourceTree = ""; }; - 657991322B30834400BE8B25 /* Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = ""; }; - 65AB6AF12B28205E009EA7EC /* LocalizedString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalizedString.swift; sourceTree = ""; }; - 65AB6AF32B282280009EA7EC /* String+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Extension.swift"; sourceTree = ""; }; + 657991322B30834400BE8B25 /* SSUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSUtils.swift; sourceTree = ""; }; + 65AB6AF12B28205E009EA7EC /* SSLocalizedString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSLocalizedString.swift; sourceTree = ""; }; + 65AB6AF32B282280009EA7EC /* SSString+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SSString+Extension.swift"; sourceTree = ""; }; 65AB6B042B282A18009EA7EC /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 65E0580B2B0E2B260049A7BA /* SSDateTimePicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SSDateTimePicker.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 65E0580E2B0E2B260049A7BA /* DateTimePicker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DateTimePicker.h; sourceTree = ""; }; @@ -111,7 +111,7 @@ 650720A32B0F645000AC1FB6 /* Views */ = { isa = PBXGroup; children = ( - 650720EE2B19FD7A00AC1FB6 /* ThemeButton.swift */, + 650720EE2B19FD7A00AC1FB6 /* SSThemeButton.swift */, 6516685A2B21F5F500AD02A1 /* Time Picker */, 651668592B21F5ED00AD02A1 /* Date picker */, ); @@ -124,10 +124,10 @@ 654A7F972B1F2CF400EB9B33 /* Time picker */, 654A7F962B1F2CEC00EB9B33 /* Date picker */, 6507209D2B0F538400AC1FB6 /* SSPickerConstants.swift */, - 650720A92B0F819F00AC1FB6 /* ImageConstant.swift */, - 650720CC2B18257600AC1FB6 /* CornerRadiusStyle.swift */, - 65AB6AF12B28205E009EA7EC /* LocalizedString.swift */, - 657991322B30834400BE8B25 /* Utils.swift */, + 650720A92B0F819F00AC1FB6 /* SSImageConstant.swift */, + 650720CC2B18257600AC1FB6 /* SSCornerRadiusStyle.swift */, + 65AB6AF12B28205E009EA7EC /* SSLocalizedString.swift */, + 657991322B30834400BE8B25 /* SSUtils.swift */, ); path = Common; sourceTree = ""; @@ -135,14 +135,14 @@ 650720B62B10CABF00AC1FB6 /* Extensions */ = { isa = PBXGroup; children = ( - 650720B72B10CB0300AC1FB6 /* Calendar+Extension.swift */, - 650720B92B10CB2800AC1FB6 /* DateComponents+Extension.swift */, - 650720BB2B10CB5000AC1FB6 /* Date+Extension.swift */, - 650720BD2B10CB7300AC1FB6 /* DateFormatter+Extension.swift */, - 650720C12B10CBC500AC1FB6 /* Color+Extension.swift */, - 650720CA2B181E5400AC1FB6 /* View+Extension.swift */, - 651668572B20842000AD02A1 /* Int+Extension.swift */, - 65AB6AF32B282280009EA7EC /* String+Extension.swift */, + 650720B72B10CB0300AC1FB6 /* SSCalendar+Extension.swift */, + 650720B92B10CB2800AC1FB6 /* SSDateComponents+Extension.swift */, + 650720BB2B10CB5000AC1FB6 /* SSDate+Extension.swift */, + 650720BD2B10CB7300AC1FB6 /* SSDateFormatter+Extension.swift */, + 650720C12B10CBC500AC1FB6 /* SSColor+Extension.swift */, + 650720CA2B181E5400AC1FB6 /* SSView+Extension.swift */, + 651668572B20842000AD02A1 /* SSInt+Extension.swift */, + 65AB6AF32B282280009EA7EC /* SSString+Extension.swift */, ); path = Extensions; sourceTree = ""; @@ -151,10 +151,10 @@ isa = PBXGroup; children = ( 650720C52B13BE4D00AC1FB6 /* SSDatePicker.swift */, - 650720B42B10881900AC1FB6 /* YearSelectionView.swift */, - 650720B22B10880900AC1FB6 /* MonthSelectionView.swift */, - 650720A52B0F6BE600AC1FB6 /* DateView.swift */, - 650720A12B0F644000AC1FB6 /* WeekDatesView.swift */, + 650720B42B10881900AC1FB6 /* SSYearSelectionView.swift */, + 650720B22B10880900AC1FB6 /* SSMonthSelectionView.swift */, + 650720A52B0F6BE600AC1FB6 /* SSDateView.swift */, + 650720A12B0F644000AC1FB6 /* SSWeekDatesView.swift */, 6579912C2B3016D100BE8B25 /* SSDateRangePicker.swift */, 6579912E2B3016F900BE8B25 /* SSMultiDatePicker.swift */, ); @@ -331,33 +331,33 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 650720BA2B10CB2800AC1FB6 /* DateComponents+Extension.swift in Sources */, - 650720A22B0F644000AC1FB6 /* WeekDatesView.swift in Sources */, - 650720B82B10CB0300AC1FB6 /* Calendar+Extension.swift in Sources */, - 650720CB2B181E5400AC1FB6 /* View+Extension.swift in Sources */, - 650720A62B0F6BE600AC1FB6 /* DateView.swift in Sources */, + 650720BA2B10CB2800AC1FB6 /* SSDateComponents+Extension.swift in Sources */, + 650720A22B0F644000AC1FB6 /* SSWeekDatesView.swift in Sources */, + 650720B82B10CB0300AC1FB6 /* SSCalendar+Extension.swift in Sources */, + 650720CB2B181E5400AC1FB6 /* SSView+Extension.swift in Sources */, + 650720A62B0F6BE600AC1FB6 /* SSDateView.swift in Sources */, 650720C62B13BE4D00AC1FB6 /* SSDatePicker.swift in Sources */, - 650720B32B10880900AC1FB6 /* MonthSelectionView.swift in Sources */, - 650720CD2B18257600AC1FB6 /* CornerRadiusStyle.swift in Sources */, - 650720AA2B0F819F00AC1FB6 /* ImageConstant.swift in Sources */, - 651668582B20842000AD02A1 /* Int+Extension.swift in Sources */, - 650720BE2B10CB7300AC1FB6 /* DateFormatter+Extension.swift in Sources */, - 650720B52B10881900AC1FB6 /* YearSelectionView.swift in Sources */, + 650720B32B10880900AC1FB6 /* SSMonthSelectionView.swift in Sources */, + 650720CD2B18257600AC1FB6 /* SSCornerRadiusStyle.swift in Sources */, + 650720AA2B0F819F00AC1FB6 /* SSImageConstant.swift in Sources */, + 651668582B20842000AD02A1 /* SSInt+Extension.swift in Sources */, + 650720BE2B10CB7300AC1FB6 /* SSDateFormatter+Extension.swift in Sources */, + 650720B52B10881900AC1FB6 /* SSYearSelectionView.swift in Sources */, 6579912D2B3016D100BE8B25 /* SSDateRangePicker.swift in Sources */, 654A7F952B1F04DF00EB9B33 /* SSClockPicker.swift in Sources */, 650720F72B1DDF3600AC1FB6 /* SSTimePickerManager.swift in Sources */, 650720C82B146E9500AC1FB6 /* SSDatePickerManager.swift in Sources */, 650720F92B1DE9FD00AC1FB6 /* SSTimeTextField.swift in Sources */, 6507209E2B0F538400AC1FB6 /* SSPickerConstants.swift in Sources */, - 65AB6AF22B28205E009EA7EC /* LocalizedString.swift in Sources */, + 65AB6AF22B28205E009EA7EC /* SSLocalizedString.swift in Sources */, 650720FB2B1DEF8300AC1FB6 /* SSTimePickerConfiguration.swift in Sources */, 65E058102B0E2B260049A7BA /* DateTimePicker.docc in Sources */, - 650720BC2B10CB5000AC1FB6 /* Date+Extension.swift in Sources */, + 650720BC2B10CB5000AC1FB6 /* SSDate+Extension.swift in Sources */, 650720F52B1DAFFB00AC1FB6 /* SSTimePicker.swift in Sources */, - 650720EF2B19FD7A00AC1FB6 /* ThemeButton.swift in Sources */, - 650720C22B10CBC500AC1FB6 /* Color+Extension.swift in Sources */, - 657991332B30834400BE8B25 /* Utils.swift in Sources */, - 65AB6AF42B282280009EA7EC /* String+Extension.swift in Sources */, + 650720EF2B19FD7A00AC1FB6 /* SSThemeButton.swift in Sources */, + 650720C22B10CBC500AC1FB6 /* SSColor+Extension.swift in Sources */, + 657991332B30834400BE8B25 /* SSUtils.swift in Sources */, + 65AB6AF42B282280009EA7EC /* SSString+Extension.swift in Sources */, 6507209C2B0F4D4500AC1FB6 /* SSDatePickerConfiguration.swift in Sources */, 6579912F2B3016F900BE8B25 /* SSMultiDatePicker.swift in Sources */, ); diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Common/CornerRadiusStyle.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSCornerRadiusStyle.swift similarity index 81% rename from Sources/SSDateTimePicker/SSDateTimePicker/Common/CornerRadiusStyle.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Common/SSCornerRadiusStyle.swift index d3fdc69..903e7ef 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Common/CornerRadiusStyle.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSCornerRadiusStyle.swift @@ -8,7 +8,7 @@ import Foundation import SwiftUI -struct CornerRadiusStyle: ViewModifier { +struct SSCornerRadiusStyle: ViewModifier { // MARK: - Properties @@ -19,12 +19,12 @@ struct CornerRadiusStyle: ViewModifier { func body(content: Content) -> some View { content - .clipShape(CornerRadiusShape(radius: radius, corners: corners)) + .clipShape(SSCornerRadiusShape(radius: radius, corners: corners)) } } -struct CornerRadiusShape: Shape { +struct SSCornerRadiusShape: Shape { //MARK: - Property diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Common/ImageConstant.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSImageConstant.swift similarity index 89% rename from Sources/SSDateTimePicker/SSDateTimePicker/Common/ImageConstant.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Common/SSImageConstant.swift index a3d8a28..37f75f4 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Common/ImageConstant.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSImageConstant.swift @@ -7,7 +7,7 @@ import Foundation -struct ImageConstant { +struct SSImageConstant { static let chevronRight = "chevron.right" static let chevronLeft = "chevron.left" diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Common/LocalizedString.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSLocalizedString.swift similarity index 95% rename from Sources/SSDateTimePicker/SSDateTimePicker/Common/LocalizedString.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Common/SSLocalizedString.swift index 3311cd1..ac54406 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Common/LocalizedString.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSLocalizedString.swift @@ -7,7 +7,7 @@ import Foundation -class LocalizedString { +class SSLocalizedString { static let ok = "Ok".localized() static let cancel = "Cancel".localized() diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Common/Utils.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSUtils.swift similarity index 99% rename from Sources/SSDateTimePicker/SSDateTimePicker/Common/Utils.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Common/SSUtils.swift index 408300e..ff39414 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Common/Utils.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Common/SSUtils.swift @@ -1,5 +1,5 @@ // -// Utils.swift +// SSUtils.swift // SSDateTimePicker // // Created by Rizwana Desai on 18/12/23. diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Calendar+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSCalendar+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Calendar+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSCalendar+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Color+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSColor+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Color+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSColor+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Date+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDate+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Date+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDate+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/DateComponents+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDateComponents+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/DateComponents+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDateComponents+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/DateFormatter+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDateFormatter+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/DateFormatter+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSDateFormatter+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Int+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSInt+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/Int+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSInt+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/String+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSString+Extension.swift similarity index 100% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/String+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSString+Extension.swift diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/View+Extension.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSView+Extension.swift similarity index 90% rename from Sources/SSDateTimePicker/SSDateTimePicker/Extensions/View+Extension.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSView+Extension.swift index 983e225..0bccc31 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/View+Extension.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Extensions/SSView+Extension.swift @@ -38,7 +38,7 @@ extension View { /// /// - Returns: A modified version of the view with the specified corner radius applied. func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View { - ModifiedContent(content: self, modifier: CornerRadiusStyle(radius: radius, corners: corners)) + ModifiedContent(content: self, modifier: SSCornerRadiusStyle(radius: radius, corners: corners)) } /// Applies a theme-specific button style to the view using a custom modifier. @@ -54,7 +54,7 @@ extension View { /// /// - Returns: A modified version of the view with the specified text color and font for a themed button. func themeButton(_ txtColor: Color, _ font: Font) -> some View { - self.modifier(ThemeButtonModifier(textColor: txtColor, font: font)) + self.modifier(SSThemeButtonModifier(textColor: txtColor, font: font)) } } diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDatePicker.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDatePicker.swift index 5c84283..cae6df1 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDatePicker.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDatePicker.swift @@ -66,9 +66,9 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { case .date: dateSectionView case .month: - MonthSelectionView() + SSMonthSelectionView() case .year: - YearSelectionView(currentView: $currentView) + SSYearSelectionView(currentView: $currentView) } } } @@ -101,7 +101,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { private var lblSelectedDate: some View { VStack(alignment: .leading, spacing: SSPickerConstants.verticleSpacingTen) { - Text(LocalizedString.selectDate) + Text(SSLocalizedString.selectDate) .font(headerTitleFont) .foregroundColor(headerTitleColor) Text(datePickerManager.selectedDate?.formatedString(headerDateFormat) ?? datePickerManager.currentMonth.monthYear) @@ -125,7 +125,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { private var datesView: some View { VStack(spacing: SSPickerConstants.verticleSpacingDates) { ForEach(weeks, id: \.self) { week in - WeekDatesView(week: week) + SSWeekDatesView(week: week) } } } @@ -172,7 +172,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { Button { self.datePickerManager.actionPrev(for: currentView) } label: { - self.imageNextPrev(ImageConstant.chevronLeft) + self.imageNextPrev(SSImageConstant.chevronLeft) } } @@ -180,7 +180,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { Button { self.datePickerManager.actionNext(for: currentView) } label: { - self.imageNextPrev(ImageConstant.chevronRight) + self.imageNextPrev(SSImageConstant.chevronRight) } } @@ -204,7 +204,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { self.actionCancel() } } label: { - Text(LocalizedString.cancel) + Text(SSLocalizedString.cancel) .themeButton(buttonsForegroundColor, buttonsFont) } } @@ -215,7 +215,7 @@ public struct SSDatePicker: View, DatePickerConfigurationDirectAccess { self.actionOk() } } label: { - Text(LocalizedString.ok) + Text(SSLocalizedString.ok) .themeButton(buttonsForegroundColor, buttonsFont) } } diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/DateView.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDateView.swift similarity index 98% rename from Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/DateView.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDateView.swift index 9f73dfe..60ef1b7 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/DateView.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSDateView.swift @@ -7,7 +7,7 @@ import SwiftUI -struct DateView: View, DatePickerConfigurationDirectAccess { +struct SSDateView: View, DatePickerConfigurationDirectAccess { // MARK: - Properties diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/MonthSelectionView.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSMonthSelectionView.swift similarity index 96% rename from Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/MonthSelectionView.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSMonthSelectionView.swift index d5dc705..f72085f 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/MonthSelectionView.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSMonthSelectionView.swift @@ -7,7 +7,7 @@ import SwiftUI -struct MonthSelectionView: View, DatePickerConfigurationDirectAccess { +struct SSMonthSelectionView: View, DatePickerConfigurationDirectAccess { // MARK: - Properties diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/WeekDatesView.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSWeekDatesView.swift similarity index 87% rename from Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/WeekDatesView.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSWeekDatesView.swift index eb7182f..b45c5c0 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/WeekDatesView.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSWeekDatesView.swift @@ -7,7 +7,7 @@ import SwiftUI -struct WeekDatesView: View, DatePickerConfigurationDirectAccess { +struct SSWeekDatesView: View, DatePickerConfigurationDirectAccess { // MARK: - Properties @@ -43,7 +43,7 @@ struct WeekDatesView: View, DatePickerConfigurationDirectAccess { private var datesForWeek: some View { HStack(spacing: SSPickerConstants.horizontalSpacingDates) { ForEach(dates, id: \.self) { date in - DateView(date: date, weekDateInSelectedMonth: week) + SSDateView(date: date, weekDateInSelectedMonth: week) } } } diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/YearSelectionView.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSYearSelectionView.swift similarity index 96% rename from Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/YearSelectionView.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSYearSelectionView.swift index 85bf882..2a5c293 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/YearSelectionView.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Date picker/SSYearSelectionView.swift @@ -7,7 +7,7 @@ import SwiftUI -public struct YearSelectionView: View, DatePickerConfigurationDirectAccess { +public struct SSYearSelectionView: View, DatePickerConfigurationDirectAccess { // MARK: - Properties diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/ThemeButton.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/SSThemeButton.swift similarity index 88% rename from Sources/SSDateTimePicker/SSDateTimePicker/Views/ThemeButton.swift rename to Sources/SSDateTimePicker/SSDateTimePicker/Views/SSThemeButton.swift index 27a3088..45cfac6 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/ThemeButton.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/SSThemeButton.swift @@ -7,7 +7,7 @@ import SwiftUI -struct ThemeButtonModifier: ViewModifier { +struct SSThemeButtonModifier: ViewModifier { var textColor: Color var font: Font diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimePicker.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimePicker.swift index 3f7b5ae..27841fb 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimePicker.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimePicker.swift @@ -74,7 +74,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { private var lblSelectedDate: some View { VStack(alignment: .leading, spacing: SSPickerConstants.verticleSpacingTen) { - Text(LocalizedString.selectTime) + Text(SSLocalizedString.selectTime) .font(headerTitleFont) .foregroundColor(headerTitleColor) textFieldHourMinutes @@ -103,7 +103,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { ToolbarItem(placement: .keyboard) { HStack { Spacer() - Button(LocalizedString.done) { + Button(SSLocalizedString.done) { actionDone() } } @@ -124,7 +124,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { timePickerManager.selectedTimeFromat = .am } } label: { - labelTimeFormat(LocalizedString.am, isSelected: timePickerManager.selectedTimeFromat == .am) + labelTimeFormat(SSLocalizedString.am, isSelected: timePickerManager.selectedTimeFromat == .am) } } @@ -134,7 +134,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { timePickerManager.selectedTimeFromat = .pm } } label: { - labelTimeFormat(LocalizedString.pm, isSelected: timePickerManager.selectedTimeFromat == .pm) + labelTimeFormat(SSLocalizedString.pm, isSelected: timePickerManager.selectedTimeFromat == .pm) } } @@ -152,7 +152,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { self.actionCancel() } } label: { - Text(LocalizedString.cancel) + Text(SSLocalizedString.cancel) .themeButton(buttonsForegroundColor, buttonFont) } } @@ -163,7 +163,7 @@ public struct SSTimePicker: View, TimePickerConfigurationDirectAccess { self.actionOk() } } label: { - Text(LocalizedString.ok) + Text(SSLocalizedString.ok) .themeButton(buttonsForegroundColor, buttonFont) } } diff --git a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimeTextField.swift b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimeTextField.swift index 06eb48e..c5b7cf2 100644 --- a/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimeTextField.swift +++ b/Sources/SSDateTimePicker/SSDateTimePicker/Views/Time Picker/SSTimeTextField.swift @@ -50,7 +50,7 @@ struct SSTimeTextField: View, TimePickerConfigurationDirectAccess { } private var txtField: some View { - TextField(isHourField ? LocalizedString.hour : LocalizedString.minute, text: $time) + TextField(isHourField ? SSLocalizedString.hour : SSLocalizedString.minute, text: $time) .focused($isFocused) .keyboardType(.numberPad) .multilineTextAlignment(.center)