Skip to content

Commit

Permalink
Update README.md (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Nov 28, 2023
1 parent fcfc143 commit f1efeab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To add `AppState` to your Swift project, use the Swift Package Manager. This inv

```swift
dependencies: [
.package(url: "https://github.com/0xLeif/AppState.git", from: "0.5.0")
.package(url: "https://github.com/0xLeif/AppState.git", from: "0.6.0")
]
```

Expand Down Expand Up @@ -238,7 +238,10 @@ Here's an example of how to use the `promote` function:

```swift
class CustomApplication: Application, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// ... your custom setup code here ...
return true
}
Expand Down

0 comments on commit f1efeab

Please sign in to comment.