2
0
Эх сурвалжийг харах

Remove conflicting name spacing to allow using in playground

onevcat 4 жил өмнө
parent
commit
da89ad8346

+ 1 - 1
Sources/General/KFOptionsSetter.swift

@@ -464,7 +464,7 @@ extension KFOptionSetter {
     ///   - backgroundColor: Background color of the output image. If `nil`, it will use a transparent background.
     /// - Returns: A `Self` value with changes applied.
     public func roundCorner(
-        radius: RoundCornerImageProcessor.Radius,
+        radius: Radius,
         targetSize: CGSize? = nil,
         roundingCorners corners: RectCorner = .all,
         backgroundColor: KFCrossPlatformColor? = nil

+ 0 - 3
Sources/Image/ImageProcessor.swift

@@ -353,9 +353,6 @@ public enum Radius {
 ///
 public struct RoundCornerImageProcessor: ImageProcessor {
 
-    /// Represents a radius specified in a `RoundCornerImageProcessor`.
-    public typealias Radius = Kingfisher.Radius
-
     /// Identifier of the processor.
     /// - Note: See documentation of `ImageProcessor` protocol for more.
     public let identifier: String