Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjavaxx committed Aug 5, 2023
1 parent b2c324f commit d96baf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pod 'SmoothGradient', '~> 1.0.0'

## Usage

### Pre-iOS 17
### Pre-iOS 17/Pre-macOS 14

```swift
import SmoothGradient
Expand All @@ -49,7 +49,7 @@ struct ContentView: View {
}
```

## iOS 17+
## iOS 17+/macOS 14+

```swift
import SmoothGradient
Expand All @@ -59,9 +59,9 @@ struct ContentView: View {
SmoothLinearGradient( // ⬅️
from: .black,
to: .white,
curve: .easeInOut,
startPoint: .top,
endPoint: .bottom
endPoint: .bottom,
curve: .easeInOut
)
}
}
Expand Down

0 comments on commit d96baf0

Please sign in to comment.