File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Sources/CoreGraphicsExtension Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111 s . version = '0.4.2'
1212 s . summary = 'A small libray to provide polar coordinate feature and some convienet extension of CoreGraphics'
1313# s.swift_version:begin
14- s . swift_version = '5.3 .0'
14+ s . swift_version = '6.1 .0'
1515 # s.swift_version = '${SWIFT_VERSION}'
1616
1717# s.platform:begin
Original file line number Diff line number Diff line change 1- // swift-tools-version:5.3
1+ // swift-tools-version:6.1
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import CoreGraphics
1111public typealias CGAngle = CGFloat
1212
1313extension CGAngle {
14- public static var zero : CGFloat = 0.0
14+ public static let zero : CGFloat = 0.0
1515 public var radians : CGFloat {
1616 self
1717 }
Original file line number Diff line number Diff line change 88import Foundation
99import CoreGraphics
1010
11- public struct CGPolarPoint {
12- public static var zero = CGPolarPoint ( )
11+ public struct CGPolarPoint : Sendable {
12+ public static let zero = CGPolarPoint ( )
1313 public var radius : CGFloat
1414 public var cgangle : CGAngle
1515 public var cgpoint : CGPoint
You can’t perform that action at this time.
0 commit comments