├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── ClockHandRotationKit.xcframework ├── Info.plist ├── ios-arm64 │ └── ClockHandRotationKit.framework │ │ ├── ClockHandRotationKit │ │ ├── Info.plist │ │ ├── Modules │ │ ├── ClockHandRotationKit.swiftmodule │ │ │ ├── arm64-apple-ios.swiftdoc │ │ │ └── arm64-apple-ios.swiftinterface │ │ └── module.modulemap │ │ └── _CodeSignature │ │ └── CodeResources ├── ios-arm64_x86_64-maccatalyst │ └── ClockHandRotationKit.framework │ │ ├── ClockHandRotationKit │ │ ├── Modules │ │ ├── Resources │ │ └── Versions │ │ ├── A │ │ ├── ClockHandRotationKit │ │ ├── Modules │ │ │ ├── ClockHandRotationKit.swiftmodule │ │ │ │ ├── arm64-apple-ios-macabi.swiftdoc │ │ │ │ ├── arm64-apple-ios-macabi.swiftinterface │ │ │ │ ├── x86_64-apple-ios-macabi.swiftdoc │ │ │ │ └── x86_64-apple-ios-macabi.swiftinterface │ │ │ └── module.modulemap │ │ ├── Resources │ │ │ └── Info.plist │ │ └── _CodeSignature │ │ │ └── CodeResources │ │ └── Current └── ios-arm64_x86_64-simulator │ └── ClockHandRotationKit.framework │ ├── ClockHandRotationKit │ ├── Info.plist │ ├── Modules │ ├── ClockHandRotationKit.swiftmodule │ │ ├── arm64-apple-ios-simulator.swiftdoc │ │ ├── arm64-apple-ios-simulator.swiftinterface │ │ ├── x86_64-apple-ios-simulator.swiftdoc │ │ └── x86_64-apple-ios-simulator.swiftinterface │ └── module.modulemap │ └── _CodeSignature │ └── CodeResources ├── LICENSE ├── Package.swift └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AvailableLibraries 6 | 7 | 8 | LibraryIdentifier 9 | ios-arm64 10 | LibraryPath 11 | ClockHandRotationKit.framework 12 | SupportedArchitectures 13 | 14 | arm64 15 | 16 | SupportedPlatform 17 | ios 18 | 19 | 20 | LibraryIdentifier 21 | ios-arm64_x86_64-simulator 22 | LibraryPath 23 | ClockHandRotationKit.framework 24 | SupportedArchitectures 25 | 26 | arm64 27 | x86_64 28 | 29 | SupportedPlatform 30 | ios 31 | SupportedPlatformVariant 32 | simulator 33 | 34 | 35 | LibraryIdentifier 36 | ios-arm64_x86_64-maccatalyst 37 | LibraryPath 38 | ClockHandRotationKit.framework 39 | SupportedArchitectures 40 | 41 | arm64 42 | x86_64 43 | 44 | SupportedPlatform 45 | ios 46 | SupportedPlatformVariant 47 | maccatalyst 48 | 49 | 50 | CFBundlePackageType 51 | XFWK 52 | XCFrameworkFormatVersion 53 | 1.0 54 | 55 | 56 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/ClockHandRotationKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/ClockHandRotationKit -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Info.plist -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftdoc -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftinterface: -------------------------------------------------------------------------------- 1 | // swift-interface-format-version: 1.0 2 | // swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) 3 | // swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ClockHandRotationKit 4 | import Foundation 5 | import Swift 6 | import SwiftUI 7 | import WidgetKit 8 | import _Concurrency 9 | public enum ClockHandRotationPeriod : Swift.Hashable, Swift.Equatable { 10 | case custom(Foundation.TimeInterval) 11 | case secondHand 12 | case minuteHand 13 | case hourHand 14 | public func hash(into hasher: inout Swift.Hasher) 15 | public static func == (a: ClockHandRotationKit.ClockHandRotationPeriod, b: ClockHandRotationKit.ClockHandRotationPeriod) -> Swift.Bool 16 | public var hashValue: Swift.Int { 17 | get 18 | } 19 | } 20 | public struct ClockHandRotationModifier : SwiftUI.ViewModifier { 21 | public init(period: ClockHandRotationKit.ClockHandRotationPeriod, timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) 22 | @_Concurrency.MainActor(unsafe) public func body(content: ClockHandRotationKit.ClockHandRotationModifier.Content) -> some SwiftUI.View 23 | 24 | public typealias Body = @_opaqueReturnTypeOf("$s20ClockHandRotationKit0abC8ModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __ 25 | } 26 | extension SwiftUI.View { 27 | public func clockHandRotationEffect(period: ClockHandRotationKit.ClockHandRotationPeriod, in timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) -> some SwiftUI.View 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module ClockHandRotationKit { 2 | export * 3 | module ClockHandRotationKit { export * } 4 | } 5 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64/ClockHandRotationKit.framework/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Info.plist 8 | 9 | +t2Lg3khfFcb+RJ7NZXwIkd+oxc= 10 | 11 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftdoc 12 | 13 | Fg7px/mLvtR/RQFp/zQB5X6UaDA= 14 | 15 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftinterface 16 | 17 | 1r8zmtwof2+SuUbXttBrsw8Kl2w= 18 | 19 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftmodule 20 | 21 | Op6x0XX3YtG9t23IQFG4QQDZEz4= 22 | 23 | Modules/module.modulemap 24 | 25 | NTQJPiXnRRLB2j3RdEh7EIytIJA= 26 | 27 | 28 | files2 29 | 30 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftdoc 31 | 32 | hash2 33 | 34 | sXAAta6T24bIC3z706r+paBwS5aV6UQagmniTM6oQRk= 35 | 36 | 37 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftinterface 38 | 39 | hash2 40 | 41 | RUK5Jhu00coiiG9Hsgdc93jXfLYvjjeT5mFB0JHDpEg= 42 | 43 | 44 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios.swiftmodule 45 | 46 | hash2 47 | 48 | XtU5umguyJZUnyKM85VuR22NA7xqhs/B8Dj1v+inWNE= 49 | 50 | 51 | Modules/module.modulemap 52 | 53 | hash2 54 | 55 | DY+pwqD7ILVQGnMAfL1qdeJxPi0B63LdxK1kwZMH8RE= 56 | 57 | 58 | 59 | rules 60 | 61 | ^.* 62 | 63 | ^.*\.lproj/ 64 | 65 | optional 66 | 67 | weight 68 | 1000 69 | 70 | ^.*\.lproj/locversion.plist$ 71 | 72 | omit 73 | 74 | weight 75 | 1100 76 | 77 | ^Base\.lproj/ 78 | 79 | weight 80 | 1010 81 | 82 | ^version.plist$ 83 | 84 | 85 | rules2 86 | 87 | .*\.dSYM($|/) 88 | 89 | weight 90 | 11 91 | 92 | ^(.*/)?\.DS_Store$ 93 | 94 | omit 95 | 96 | weight 97 | 2000 98 | 99 | ^.* 100 | 101 | ^.*\.lproj/ 102 | 103 | optional 104 | 105 | weight 106 | 1000 107 | 108 | ^.*\.lproj/locversion.plist$ 109 | 110 | omit 111 | 112 | weight 113 | 1100 114 | 115 | ^Base\.lproj/ 116 | 117 | weight 118 | 1010 119 | 120 | ^Info\.plist$ 121 | 122 | omit 123 | 124 | weight 125 | 20 126 | 127 | ^PkgInfo$ 128 | 129 | omit 130 | 131 | weight 132 | 20 133 | 134 | ^embedded\.provisionprofile$ 135 | 136 | weight 137 | 20 138 | 139 | ^version\.plist$ 140 | 141 | weight 142 | 20 143 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/ClockHandRotationKit: -------------------------------------------------------------------------------- 1 | Versions/Current/ClockHandRotationKit -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Modules: -------------------------------------------------------------------------------- 1 | Versions/Current/Modules -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/ClockHandRotationKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/ClockHandRotationKit -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface: -------------------------------------------------------------------------------- 1 | // swift-interface-format-version: 1.0 2 | // swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) 3 | // swift-module-flags: -target arm64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ClockHandRotationKit 4 | import Foundation 5 | import Swift 6 | import SwiftUI 7 | import WidgetKit 8 | import _Concurrency 9 | public enum ClockHandRotationPeriod : Swift.Hashable, Swift.Equatable { 10 | case custom(Foundation.TimeInterval) 11 | case secondHand 12 | case minuteHand 13 | case hourHand 14 | public func hash(into hasher: inout Swift.Hasher) 15 | public static func == (a: ClockHandRotationKit.ClockHandRotationPeriod, b: ClockHandRotationKit.ClockHandRotationPeriod) -> Swift.Bool 16 | public var hashValue: Swift.Int { 17 | get 18 | } 19 | } 20 | public struct ClockHandRotationModifier : SwiftUI.ViewModifier { 21 | public init(period: ClockHandRotationKit.ClockHandRotationPeriod, timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) 22 | @_Concurrency.MainActor(unsafe) public func body(content: ClockHandRotationKit.ClockHandRotationModifier.Content) -> some SwiftUI.View 23 | 24 | public typealias Body = @_opaqueReturnTypeOf("$s20ClockHandRotationKit0abC8ModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __ 25 | } 26 | extension SwiftUI.View { 27 | public func clockHandRotationEffect(period: ClockHandRotationKit.ClockHandRotationPeriod, in timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) -> some SwiftUI.View 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface: -------------------------------------------------------------------------------- 1 | // swift-interface-format-version: 1.0 2 | // swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) 3 | // swift-module-flags: -target x86_64-apple-ios15.0-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ClockHandRotationKit 4 | import Foundation 5 | import Swift 6 | import SwiftUI 7 | import WidgetKit 8 | import _Concurrency 9 | public enum ClockHandRotationPeriod : Swift.Hashable, Swift.Equatable { 10 | case custom(Foundation.TimeInterval) 11 | case secondHand 12 | case minuteHand 13 | case hourHand 14 | public func hash(into hasher: inout Swift.Hasher) 15 | public static func == (a: ClockHandRotationKit.ClockHandRotationPeriod, b: ClockHandRotationKit.ClockHandRotationPeriod) -> Swift.Bool 16 | public var hashValue: Swift.Int { 17 | get 18 | } 19 | } 20 | public struct ClockHandRotationModifier : SwiftUI.ViewModifier { 21 | public init(period: ClockHandRotationKit.ClockHandRotationPeriod, timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) 22 | @_Concurrency.MainActor(unsafe) public func body(content: ClockHandRotationKit.ClockHandRotationModifier.Content) -> some SwiftUI.View 23 | 24 | public typealias Body = @_opaqueReturnTypeOf("$s20ClockHandRotationKit0abC8ModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __ 25 | } 26 | extension SwiftUI.View { 27 | public func clockHandRotationEffect(period: ClockHandRotationKit.ClockHandRotationPeriod, in timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) -> some SwiftUI.View 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module ClockHandRotationKit { 2 | export * 3 | module ClockHandRotationKit { export * } 4 | } 5 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 22D68 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | ClockHandRotationKit 11 | CFBundleIdentifier 12 | io.ijk.ClockHandRotationKit 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ClockHandRotationKit 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 13F100 31 | DTPlatformName 32 | macosx 33 | DTPlatformVersion 34 | 12.3 35 | DTSDKBuild 36 | 21E226 37 | DTSDKName 38 | macosx12.3 39 | DTXcode 40 | 1341 41 | DTXcodeBuild 42 | 13F100 43 | LSMinimumSystemVersion 44 | 12.0 45 | NSHumanReadableCopyright 46 | 47 | UIDeviceFamily 48 | 49 | 2 50 | 6 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/A/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/Info.plist 8 | 9 | 2IYOn+oL363mm45rZeR4vgGZ7+k= 10 | 11 | 12 | files2 13 | 14 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc 15 | 16 | hash2 17 | 18 | qdZMSUoH2KGO/1yN5l2iOsqp2Yo+8ju+GuXvki88bUI= 19 | 20 | 21 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface 22 | 23 | hash2 24 | 25 | 2ASC9l3nVTioWLOfK5oy9Nc0bccnkc1UEyIBoKV4NEE= 26 | 27 | 28 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-macabi.swiftmodule 29 | 30 | hash2 31 | 32 | 08jj0AVpiL08MFTdYmwJ4oLB3m2M7xyDTgh+70KDlew= 33 | 34 | 35 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc 36 | 37 | hash2 38 | 39 | Bs+tmEGmMJNEVM3xbWRI7H08z+C5Ryh8W3jMDpJHlOw= 40 | 41 | 42 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface 43 | 44 | hash2 45 | 46 | dK2d6W6W5Bu7GL0PYppF3ux1KPtmu53ATnHHRhKMAY4= 47 | 48 | 49 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-macabi.swiftmodule 50 | 51 | hash2 52 | 53 | C5/EMcdPxKEquJOD5U6NHWWNZGaRtoFhzO4vJNNT1nk= 54 | 55 | 56 | Modules/module.modulemap 57 | 58 | hash2 59 | 60 | DY+pwqD7ILVQGnMAfL1qdeJxPi0B63LdxK1kwZMH8RE= 61 | 62 | 63 | Resources/Info.plist 64 | 65 | hash2 66 | 67 | gZk5mx+JJ4JSA06F9mrDTICRvEGEYklElzrNFIq8Oxs= 68 | 69 | 70 | 71 | rules 72 | 73 | ^Resources/ 74 | 75 | ^Resources/.*\.lproj/ 76 | 77 | optional 78 | 79 | weight 80 | 1000 81 | 82 | ^Resources/.*\.lproj/locversion.plist$ 83 | 84 | omit 85 | 86 | weight 87 | 1100 88 | 89 | ^Resources/Base\.lproj/ 90 | 91 | weight 92 | 1010 93 | 94 | ^version.plist$ 95 | 96 | 97 | rules2 98 | 99 | .*\.dSYM($|/) 100 | 101 | weight 102 | 11 103 | 104 | ^(.*/)?\.DS_Store$ 105 | 106 | omit 107 | 108 | weight 109 | 2000 110 | 111 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 112 | 113 | nested 114 | 115 | weight 116 | 10 117 | 118 | ^.* 119 | 120 | ^Info\.plist$ 121 | 122 | omit 123 | 124 | weight 125 | 20 126 | 127 | ^PkgInfo$ 128 | 129 | omit 130 | 131 | weight 132 | 20 133 | 134 | ^Resources/ 135 | 136 | weight 137 | 20 138 | 139 | ^Resources/.*\.lproj/ 140 | 141 | optional 142 | 143 | weight 144 | 1000 145 | 146 | ^Resources/.*\.lproj/locversion.plist$ 147 | 148 | omit 149 | 150 | weight 151 | 1100 152 | 153 | ^Resources/Base\.lproj/ 154 | 155 | weight 156 | 1010 157 | 158 | ^[^/]+$ 159 | 160 | nested 161 | 162 | weight 163 | 10 164 | 165 | ^embedded\.provisionprofile$ 166 | 167 | weight 168 | 20 169 | 170 | ^version\.plist$ 171 | 172 | weight 173 | 20 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-maccatalyst/ClockHandRotationKit.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/ClockHandRotationKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/ClockHandRotationKit -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Info.plist -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface: -------------------------------------------------------------------------------- 1 | // swift-interface-format-version: 1.0 2 | // swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) 3 | // swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ClockHandRotationKit 4 | import Foundation 5 | import Swift 6 | import SwiftUI 7 | import WidgetKit 8 | import _Concurrency 9 | public enum ClockHandRotationPeriod : Swift.Hashable, Swift.Equatable { 10 | case custom(Foundation.TimeInterval) 11 | case secondHand 12 | case minuteHand 13 | case hourHand 14 | public func hash(into hasher: inout Swift.Hasher) 15 | public static func == (a: ClockHandRotationKit.ClockHandRotationPeriod, b: ClockHandRotationKit.ClockHandRotationPeriod) -> Swift.Bool 16 | public var hashValue: Swift.Int { 17 | get 18 | } 19 | } 20 | public struct ClockHandRotationModifier : SwiftUI.ViewModifier { 21 | public init(period: ClockHandRotationKit.ClockHandRotationPeriod, timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) 22 | @_Concurrency.MainActor(unsafe) public func body(content: ClockHandRotationKit.ClockHandRotationModifier.Content) -> some SwiftUI.View 23 | 24 | public typealias Body = @_opaqueReturnTypeOf("$s20ClockHandRotationKit0abC8ModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __ 25 | } 26 | extension SwiftUI.View { 27 | public func clockHandRotationEffect(period: ClockHandRotationKit.ClockHandRotationPeriod, in timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) -> some SwiftUI.View 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octree/ClockHandRotationKit/18ece16317fa2ef74bb38c56897d6908a78f64ec/ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface: -------------------------------------------------------------------------------- 1 | // swift-interface-format-version: 1.0 2 | // swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) 3 | // swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ClockHandRotationKit 4 | import Foundation 5 | import Swift 6 | import SwiftUI 7 | import WidgetKit 8 | import _Concurrency 9 | public enum ClockHandRotationPeriod : Swift.Hashable, Swift.Equatable { 10 | case custom(Foundation.TimeInterval) 11 | case secondHand 12 | case minuteHand 13 | case hourHand 14 | public func hash(into hasher: inout Swift.Hasher) 15 | public static func == (a: ClockHandRotationKit.ClockHandRotationPeriod, b: ClockHandRotationKit.ClockHandRotationPeriod) -> Swift.Bool 16 | public var hashValue: Swift.Int { 17 | get 18 | } 19 | } 20 | public struct ClockHandRotationModifier : SwiftUI.ViewModifier { 21 | public init(period: ClockHandRotationKit.ClockHandRotationPeriod, timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) 22 | @_Concurrency.MainActor(unsafe) public func body(content: ClockHandRotationKit.ClockHandRotationModifier.Content) -> some SwiftUI.View 23 | 24 | public typealias Body = @_opaqueReturnTypeOf("$s20ClockHandRotationKit0abC8ModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __ 25 | } 26 | extension SwiftUI.View { 27 | public func clockHandRotationEffect(period: ClockHandRotationKit.ClockHandRotationPeriod, in timeZone: Foundation.TimeZone = .current, anchor: SwiftUI.UnitPoint = .center) -> some SwiftUI.View 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module ClockHandRotationKit { 2 | export * 3 | module ClockHandRotationKit { export * } 4 | } 5 | -------------------------------------------------------------------------------- /ClockHandRotationKit.xcframework/ios-arm64_x86_64-simulator/ClockHandRotationKit.framework/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Info.plist 8 | 9 | JsgUIar8OOnWQDzvVWYjLLYmd6Y= 10 | 11 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc 12 | 13 | In3L+w07UWUGkSR2YqfYxP4rISY= 14 | 15 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface 16 | 17 | Kd282rApERguRuz24i/ck7IhEdo= 18 | 19 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule 20 | 21 | h2wjS+pkHggVcRi/Tn1jDaKMbU8= 22 | 23 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc 24 | 25 | bJX3NQAQxNrq/8DXosY1PsIKMrc= 26 | 27 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface 28 | 29 | r/iw1Fgi/neKU6nqbRyMe3ibEs0= 30 | 31 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule 32 | 33 | 4N1ydIsVw1Lgp6RJsGJReiIgBKg= 34 | 35 | Modules/module.modulemap 36 | 37 | NTQJPiXnRRLB2j3RdEh7EIytIJA= 38 | 39 | 40 | files2 41 | 42 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc 43 | 44 | hash2 45 | 46 | 5ThZ9/xhknP+ArqVt/NfPa+wOsaXAppfN4kbsRkW/wE= 47 | 48 | 49 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface 50 | 51 | hash2 52 | 53 | gNCiDecZfQNmNQRSdNFeUn1tp1CsVahWLlVENUGcoyM= 54 | 55 | 56 | Modules/ClockHandRotationKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule 57 | 58 | hash2 59 | 60 | Swdl00T/pqCyrQyDHIwmhKmSsgUYrl8XVVKj/YpXUeQ= 61 | 62 | 63 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc 64 | 65 | hash2 66 | 67 | BdR2LP8VyGMuuGC7c4VyaaTNLr/rtQTc0Ecf8jPtYLo= 68 | 69 | 70 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface 71 | 72 | hash2 73 | 74 | f1taN6NMdItKeZOdDsJr00mhR3w366mMzB/zX8NQCL8= 75 | 76 | 77 | Modules/ClockHandRotationKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule 78 | 79 | hash2 80 | 81 | eC4qE8iOSU843pSplPbJFYUoB2sTVAKAyTbVYqNQqL4= 82 | 83 | 84 | Modules/module.modulemap 85 | 86 | hash2 87 | 88 | DY+pwqD7ILVQGnMAfL1qdeJxPi0B63LdxK1kwZMH8RE= 89 | 90 | 91 | 92 | rules 93 | 94 | ^.* 95 | 96 | ^.*\.lproj/ 97 | 98 | optional 99 | 100 | weight 101 | 1000 102 | 103 | ^.*\.lproj/locversion.plist$ 104 | 105 | omit 106 | 107 | weight 108 | 1100 109 | 110 | ^Base\.lproj/ 111 | 112 | weight 113 | 1010 114 | 115 | ^version.plist$ 116 | 117 | 118 | rules2 119 | 120 | .*\.dSYM($|/) 121 | 122 | weight 123 | 11 124 | 125 | ^(.*/)?\.DS_Store$ 126 | 127 | omit 128 | 129 | weight 130 | 2000 131 | 132 | ^.* 133 | 134 | ^.*\.lproj/ 135 | 136 | optional 137 | 138 | weight 139 | 1000 140 | 141 | ^.*\.lproj/locversion.plist$ 142 | 143 | omit 144 | 145 | weight 146 | 1100 147 | 148 | ^Base\.lproj/ 149 | 150 | weight 151 | 1010 152 | 153 | ^Info\.plist$ 154 | 155 | omit 156 | 157 | weight 158 | 20 159 | 160 | ^PkgInfo$ 161 | 162 | omit 163 | 164 | weight 165 | 20 166 | 167 | ^embedded\.provisionprofile$ 168 | 169 | weight 170 | 20 171 | 172 | ^version\.plist$ 173 | 174 | weight 175 | 20 176 | 177 | 178 | 179 | 180 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2023 Octree 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version: 5.7 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "ClockHandRotationKit", 8 | platforms: [ 9 | .iOS(.v14) 10 | ], 11 | products: [ 12 | .library( 13 | name: "ClockHandRotationKit", 14 | targets: ["ClockHandRotationKit"] 15 | ) 16 | ], 17 | dependencies: [], 18 | targets: [ 19 | .binaryTarget( 20 | name: "ClockHandRotationKit", 21 | path: "ClockHandRotationKit.xcframework" 22 | ) 23 | ] 24 | ) 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ClockHandRotationKit 2 | 3 | Xcode 中使用 `clockHandRotationEffect` API. 4 | 5 | Use `clockHandRotationEffect` in your Xcode. 6 | 7 | > ⚠️ For the sake of safety, you'd better build an XCFramework yourself. 8 | 9 | ## Installation 10 | 11 | ### Swift Package Manager 12 | 13 | ```swift 14 | .package(url: "https://github.com/octree/ClockHandRotationKit", from: "1.0.0") 15 | 16 | ``` 17 | 18 | ## License 19 | 20 | **ClockHandRotationKit** is available under the MIT license. See the LICENSE file for more info. 21 | --------------------------------------------------------------------------------