mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
📝 :: Fix typos
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user