Skip to content

Commit 54159ca

Browse files
committed
🎨 :: Format code
1 parent 11241ba commit 54159ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Example/GradientLoadingBar/Extensions/UIColor+CustomColors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import UIKit
1010

1111
extension UIColor {
12-
/// Struct that contains all our custom defined colors.
13-
struct CustomColors {
12+
/// Config that contains all our custom defined colors.
13+
enum CustomColors {
1414
static let blue = #colorLiteral(red: 0.2862745098, green: 0.5647058824, blue: 0.8862745098, alpha: 1)
1515
}
1616
}

GradientLoadingBar/Classes/Misc/Constants.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
import UIKit
1010

11-
extension UIColor {
11+
public extension UIColor {
1212
/// Default colors for components.
13-
public enum GradientLoadingBar {
13+
enum GradientLoadingBar {
1414
/// The default color palette for the gradient colors.
1515
///
1616
/// - SeeAlso: https://codepen.io/marcobiedermann/pen/LExXWW
@@ -20,9 +20,9 @@ extension UIColor {
2020
}
2121
}
2222

23-
extension TimeInterval {
23+
public extension TimeInterval {
2424
/// Numeric default values.
25-
public enum GradientLoadingBar {
25+
enum GradientLoadingBar {
2626
/// The default duration for fading-in the loading bar, measured in seconds.
2727
public static let fadeInDuration = 0.33
2828

0 commit comments

Comments
 (0)