We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d533d8a commit cde3a4eCopy full SHA for cde3a4e
Sources/BlurHashKit/BlurHashView.swift
@@ -9,7 +9,7 @@ public struct BlurHashView: UIViewRepresentable {
9
10
public init(
11
blurHash: String,
12
- size: CGSize = .Circle(radius: 12),
+ size: CGSize = .init(width: 12, height: 12),
13
pixels: Int = 1024,
14
punch: Float = 1
15
) {
@@ -68,9 +68,3 @@ public class UIBlurHashImageView: UIImageView {
68
}
69
70
71
-
72
-public extension CGSize {
73
- static func Circle(radius: CGFloat) -> CGSize {
74
- .init(width: radius, height: radius)
75
- }
76
-}
0 commit comments