├── .github └── workflows │ └── xcodetest.yml ├── .gitignore ├── .swiftlint.yml ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── SwiftClockUI │ ├── ClockView.swift │ ├── Elements │ ├── Arm │ │ ├── ArmDragGesture.swift │ │ ├── ArmType.swift │ │ ├── ArmView.swift │ │ ├── ArtNouveauArm.swift │ │ ├── ClassicArm.swift │ │ ├── DrawnArm.swift │ │ └── SteampunkArm.swift │ ├── Arms.swift │ ├── Borders │ │ ├── ArtNouveauClockBorder.swift │ │ ├── ClassicClockBorder.swift │ │ ├── ClockBorderView.swift │ │ ├── DrawnClockBorder.swift │ │ └── SteampunkClockBorder.swift │ ├── Indicators │ │ ├── ArtNouveauIndicators.swift │ │ ├── ClassicIndicators.swift │ │ ├── DrawnIndicators.swift │ │ ├── IndicatorsView.swift │ │ ├── RomanNumber.swift │ │ └── SteampunkIndicators.swift │ └── Steampunk │ │ ├── Cogwheel.swift │ │ ├── Moon.swift │ │ ├── Plate.swift │ │ ├── SteampunkHourArm.swift │ │ ├── SteampunkMinuteArm.swift │ │ └── WindUpKey.swift │ ├── Environment │ ├── ClockAnimationEnabled.swift │ ├── ClockArmColorsEnvironment.swift │ ├── ClockBorderColorEnvironment.swift │ ├── ClockConfigurationEnvironment.swift │ ├── ClockDateEnvironment.swift │ ├── ClockIndicatorsColorEnvironment.swift │ ├── ClockIsAnimationEnabledEnvironment.swift │ ├── ClockRandomEnvironment.swift │ └── ClockStyleEnvironment.swift │ ├── Extensions │ ├── Angle+Circle.swift │ ├── CGPoint+Circle.swift │ ├── CGRect+Circle.swift │ ├── Color+Background.swift │ ├── Date+Clock.swift │ ├── Double+Time.swift │ ├── GeometryProxy+Diameter.swift │ ├── NSBezierPath+CGPath.swift │ ├── Path+Circle.swift │ └── Path+VerticalMirror.swift │ ├── Face │ ├── ClockFaceEnvironment.swift │ ├── ClockFaceView.swift │ ├── Eye.swift │ └── Mouth.swift │ └── ViewModifiers │ ├── FontProportional.swift │ └── PositionInCircle.swift ├── Tests ├── LinuxMain.swift └── SwiftClockUITests │ ├── Calendar+Test.swift │ ├── ClockViewTests.swift │ ├── Elements │ ├── Arm │ │ ├── ArmTests.swift │ │ ├── ArmTypeTests.swift │ │ ├── ArtNouveauArmTests.swift │ │ ├── ClassicArmTests.swift │ │ └── __Snapshots__ │ │ │ ├── ArmTests │ │ │ ├── testArmWith25MinuteAngle.1.png │ │ │ ├── testArtNouveauArm.1.png │ │ │ ├── testDrawningArm.1.png │ │ │ ├── testHourArm.1.png │ │ │ └── testMinuteArms.1.png │ │ │ ├── ArtNouveauArmTests │ │ │ └── testArtNouveauArm.1.png │ │ │ └── ClassicArmTests │ │ │ └── testClassicArm.1.png │ ├── ArmsTests.swift │ ├── Borders │ │ ├── ClassicClockBorderTests.swift │ │ ├── DrawnClockBorderTests.swift │ │ ├── SteampunkClockBorderTests.swift │ │ └── __Snapshots__ │ │ │ ├── ClassicClockBorderTests │ │ │ ├── testClassicClockBorder.1.png │ │ │ └── testClassicClockBorderOnMac.1.png │ │ │ ├── DrawnClockBorderTests │ │ │ └── testDrawnClockBorder.1.png │ │ │ └── SteampunkClockBorderTests │ │ │ └── testSteampunkClockBorder.1.png │ ├── Indicators │ │ ├── ArtNouveauIndicatorsTests.swift │ │ ├── SteampunkIndicatorsTests.swift │ │ └── __Snapshots__ │ │ │ ├── ArtNouveauIndicatorsTests │ │ │ └── testArtNouveauIndicators.1.png │ │ │ └── SteampunkIndicatorsTests │ │ │ ├── testSteampunkIndicators.1.png │ │ │ └── testSteampunkIndicatorsWithLimitedHours.1.png │ ├── Steampunk │ │ ├── CogwheelTests.swift │ │ ├── MoonTests.swift │ │ ├── PlateTests.swift │ │ ├── SteampunkHourArmTests.swift │ │ ├── SteampunkMinuteArmTests.swift │ │ ├── WindUpKeyTests.swift │ │ └── __Snapshots__ │ │ │ ├── CogwheelTests │ │ │ ├── testCogwheel.1.png │ │ │ └── testCogwheels.1.png │ │ │ ├── MoonTests │ │ │ └── testMoon.1.png │ │ │ ├── PlateTests │ │ │ ├── testPlateHardXII.1.png │ │ │ └── testPlateSoftI.1.png │ │ │ ├── SteampunkHourArmTests │ │ │ └── testSteampunkHourArm.1.png │ │ │ ├── SteampunkMinuteArmTests │ │ │ └── testSteampunkMinuteArm.1.png │ │ │ └── WindUpKeyTests │ │ │ └── testWindUpKey.1.png │ └── __Snapshots__ │ │ └── ArmsTests │ │ └── testArms.1.png │ ├── EnvironmentTests.swift │ ├── Extensions │ ├── CGPoint+CircleTests.swift │ ├── CGRect+CircleTests.swift │ ├── Date+ClockTests.swift │ ├── Path+CircleTests.swift │ └── __Snapshots__ │ │ └── Path+CircleTests │ │ └── testCenter.1.png │ ├── Face │ ├── ClockFaceTests.swift │ ├── EyeTests.swift │ ├── MouthTests.swift │ └── __Snapshots__ │ │ ├── ClockFaceTests │ │ └── testClockFaceSmiling.1.png │ │ ├── EyeTests │ │ └── testEyes.1.png │ │ └── MouthTests │ │ └── testMouths.1.png │ ├── Snapshotting+DefaultImage.swift │ ├── XCTestManifests.swift │ └── __Snapshots__ │ └── ClockViewTests │ ├── testClockViewArtNouveauStyle.1.png │ ├── testClockViewDifferentColors.1.png │ ├── testClockViewDrawingStyle.1.png │ ├── testClockViewSteampunkStyle.1.png │ ├── testClockViewWithFace.1.png │ └── testDefaultClockView.1.png └── docs └── assets ├── ClockViewArtNouveau.png ├── ClockViewClassic.png ├── ClockViewClassicAndColors.png ├── ClockViewDrawing.png └── ClockViewSteampunk.png /.github/workflows/xcodetest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/.github/workflows/xcodetest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | .swiftpm 7 | -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/README.md -------------------------------------------------------------------------------- /Sources/SwiftClockUI/ClockView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/ClockView.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/ArmDragGesture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/ArmDragGesture.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/ArmType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/ArmType.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/ArmView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/ArmView.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/ArtNouveauArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/ArtNouveauArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/ClassicArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/ClassicArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arm/SteampunkArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arm/SteampunkArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Arms.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Arms.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Borders/ArtNouveauClockBorder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Borders/ArtNouveauClockBorder.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Borders/ClassicClockBorder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Borders/ClassicClockBorder.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Borders/ClockBorderView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Borders/ClockBorderView.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Borders/DrawnClockBorder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Borders/DrawnClockBorder.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Borders/SteampunkClockBorder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Borders/SteampunkClockBorder.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/ArtNouveauIndicators.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/ArtNouveauIndicators.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/ClassicIndicators.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/ClassicIndicators.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/IndicatorsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/IndicatorsView.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/RomanNumber.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/RomanNumber.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Indicators/SteampunkIndicators.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Indicators/SteampunkIndicators.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/Cogwheel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/Cogwheel.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/Moon.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/Moon.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/Plate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/SteampunkHourArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/SteampunkHourArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/SteampunkMinuteArm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/SteampunkMinuteArm.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Elements/Steampunk/WindUpKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Elements/Steampunk/WindUpKey.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockAnimationEnabled.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockAnimationEnabled.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockBorderColorEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockBorderColorEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockDateEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockDateEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockIndicatorsColorEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockIndicatorsColorEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockIsAnimationEnabledEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockIsAnimationEnabledEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Angle+Circle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Angle+Circle.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/CGPoint+Circle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/CGPoint+Circle.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/CGRect+Circle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/CGRect+Circle.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Color+Background.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Color+Background.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Date+Clock.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Date+Clock.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Double+Time.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Double+Time.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/GeometryProxy+Diameter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/GeometryProxy+Diameter.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Path+Circle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Path+Circle.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Extensions/Path+VerticalMirror.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Extensions/Path+VerticalMirror.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Face/ClockFaceEnvironment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Face/ClockFaceEnvironment.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Face/ClockFaceView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Face/ClockFaceView.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Face/Eye.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Face/Eye.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/Face/Mouth.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/Face/Mouth.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/ViewModifiers/FontProportional.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/ViewModifiers/FontProportional.swift -------------------------------------------------------------------------------- /Sources/SwiftClockUI/ViewModifiers/PositionInCircle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Sources/SwiftClockUI/ViewModifiers/PositionInCircle.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Calendar+Test.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Calendar+Test.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/ClockViewTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/ClockViewTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/ArmTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/ArmTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/ArmTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/ArmTypeTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/ArtNouveauArmTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/ArtNouveauArmTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/ClassicArmTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/ClassicArmTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testArmWith25MinuteAngle.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testArmWith25MinuteAngle.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testArtNouveauArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testArtNouveauArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testDrawningArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testDrawningArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testHourArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testHourArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testMinuteArms.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArmTests/testMinuteArms.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArtNouveauArmTests/testArtNouveauArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ArtNouveauArmTests/testArtNouveauArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ClassicArmTests/testClassicArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Arm/__Snapshots__/ClassicArmTests/testClassicArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/ArmsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/ArmsTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/ClassicClockBorderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/ClassicClockBorderTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/DrawnClockBorderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/DrawnClockBorderTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/SteampunkClockBorderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/SteampunkClockBorderTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/ClassicClockBorderTests/testClassicClockBorder.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/ClassicClockBorderTests/testClassicClockBorder.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/ClassicClockBorderTests/testClassicClockBorderOnMac.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/ClassicClockBorderTests/testClassicClockBorderOnMac.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/DrawnClockBorderTests/testDrawnClockBorder.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/DrawnClockBorderTests/testDrawnClockBorder.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/SteampunkClockBorderTests/testSteampunkClockBorder.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Borders/__Snapshots__/SteampunkClockBorderTests/testSteampunkClockBorder.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Indicators/ArtNouveauIndicatorsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Indicators/ArtNouveauIndicatorsTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Indicators/SteampunkIndicatorsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Indicators/SteampunkIndicatorsTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/ArtNouveauIndicatorsTests/testArtNouveauIndicators.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/ArtNouveauIndicatorsTests/testArtNouveauIndicators.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/SteampunkIndicatorsTests/testSteampunkIndicators.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/SteampunkIndicatorsTests/testSteampunkIndicators.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/SteampunkIndicatorsTests/testSteampunkIndicatorsWithLimitedHours.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Indicators/__Snapshots__/SteampunkIndicatorsTests/testSteampunkIndicatorsWithLimitedHours.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/CogwheelTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/CogwheelTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/MoonTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/MoonTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/PlateTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/PlateTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/SteampunkHourArmTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/SteampunkHourArmTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/SteampunkMinuteArmTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/SteampunkMinuteArmTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/WindUpKeyTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/WindUpKeyTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/CogwheelTests/testCogwheel.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/CogwheelTests/testCogwheel.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/CogwheelTests/testCogwheels.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/CogwheelTests/testCogwheels.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/MoonTests/testMoon.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/MoonTests/testMoon.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/PlateTests/testPlateHardXII.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/PlateTests/testPlateHardXII.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/PlateTests/testPlateSoftI.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/PlateTests/testPlateSoftI.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/SteampunkHourArmTests/testSteampunkHourArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/SteampunkHourArmTests/testSteampunkHourArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/SteampunkMinuteArmTests/testSteampunkMinuteArm.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/SteampunkMinuteArmTests/testSteampunkMinuteArm.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/WindUpKeyTests/testWindUpKey.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/Steampunk/__Snapshots__/WindUpKeyTests/testWindUpKey.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Elements/__Snapshots__/ArmsTests/testArms.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Elements/__Snapshots__/ArmsTests/testArms.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/EnvironmentTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/EnvironmentTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Extensions/CGPoint+CircleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Extensions/CGPoint+CircleTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Extensions/CGRect+CircleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Extensions/CGRect+CircleTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Extensions/Date+ClockTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Extensions/Date+ClockTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Extensions/Path+CircleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Extensions/Path+CircleTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Extensions/__Snapshots__/Path+CircleTests/testCenter.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Extensions/__Snapshots__/Path+CircleTests/testCenter.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/ClockFaceTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/ClockFaceTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/EyeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/EyeTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/MouthTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/MouthTests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/__Snapshots__/ClockFaceTests/testClockFaceSmiling.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/__Snapshots__/ClockFaceTests/testClockFaceSmiling.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/__Snapshots__/EyeTests/testEyes.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/__Snapshots__/EyeTests/testEyes.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Face/__Snapshots__/MouthTests/testMouths.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Face/__Snapshots__/MouthTests/testMouths.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/Snapshotting+DefaultImage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/Snapshotting+DefaultImage.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/XCTestManifests.swift -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewArtNouveauStyle.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewArtNouveauStyle.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewDifferentColors.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewDifferentColors.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewDrawingStyle.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewDrawingStyle.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewSteampunkStyle.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewSteampunkStyle.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewWithFace.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testClockViewWithFace.1.png -------------------------------------------------------------------------------- /Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testDefaultClockView.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/Tests/SwiftClockUITests/__Snapshots__/ClockViewTests/testDefaultClockView.1.png -------------------------------------------------------------------------------- /docs/assets/ClockViewArtNouveau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/docs/assets/ClockViewArtNouveau.png -------------------------------------------------------------------------------- /docs/assets/ClockViewClassic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/docs/assets/ClockViewClassic.png -------------------------------------------------------------------------------- /docs/assets/ClockViewClassicAndColors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/docs/assets/ClockViewClassicAndColors.png -------------------------------------------------------------------------------- /docs/assets/ClockViewDrawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/docs/assets/ClockViewDrawing.png -------------------------------------------------------------------------------- /docs/assets/ClockViewSteampunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renaudjenny/SwiftClockUI/HEAD/docs/assets/ClockViewSteampunk.png --------------------------------------------------------------------------------