Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #33

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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