From 87d8a1deda37385f6fecdc062afb38896548a1a3 Mon Sep 17 00:00:00 2001 From: "Felix M." Date: Tue, 24 Feb 2026 21:35:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20::=20Fix=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- .../Config/UIColor+GradientLoadingBar.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fd0f329..dc55de2 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ If you prefer direct view composition, `GradientActivityIndicatorView` is a `UIV ### Usage -Store an instance as a property, set-up constraints and control the visibility using `fadeIn()` and `fadeOut()`. +Store an instance as a property, set up constraints and control the visibility using `fadeIn()` and `fadeOut()`. ```swift final class UserProfileViewController: UIViewController { @@ -264,7 +264,7 @@ gradientActivityIndicatorView.progressAnimationDuration = 4.5 ### Usage ```swift -struct ContentView: some View { +struct ContentView: View { var body: some View { GradientLoadingBarView() @@ -301,7 +301,7 @@ Control the visibility using standard SwiftUI view modifiers such as: Example with fade animation. ```swift -struct ContentView: some View { +struct ContentView: View { @State private var isVisible = false diff --git a/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift b/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift index 9ea51dc..764d61c 100644 --- a/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift +++ b/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift @@ -26,8 +26,8 @@ public extension Color { /// Color related configuration values for `GradientLoadingBar`. /// - /// - Note: Added in `UIColor` extension file, cause these values are derived from - /// to the UIKit configuration values to ensure consistency across both frameworks. + /// - Note: Added in `UIColor` extension file, because these values are derived from + /// the UIKit configuration values to ensure consistency across both frameworks. enum GradientLoadingBar { /// The default color palette for the gradient colors. public static let gradientColors =