Skip to content

Commit e2fd2f3

Browse files
committed
Update release notes
1 parent 11e2237 commit e2fd2f3

File tree

12 files changed

+32
-40
lines changed

12 files changed

+32
-40
lines changed

Demo/Demo/ContentView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ struct ContentView: View {
2828
NavigationStack {
2929
List {
3030
Section("Onboardings") {
31-
3231
listButton(
3332
.popover,
3433
presentPopover,

Demo/Demo/DemoPageContent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ struct DemoPageContent: View {
1313

1414
@Binding
1515
var index: Int
16-
let info: OnboardingPageInfo<LocalizedOnboardingFlow.Page>
16+
let info: OnboardingPageInfo<LocalizedOnboarding.Page>
1717

1818
@Environment(\.dismiss)
1919
private var dismiss

Demo/Demo/DemoPageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import SwiftUI
1111

1212
struct DemoPageView: View {
1313

14-
let onboarding: LocalizedOnboardingFlow
14+
let onboarding: LocalizedOnboarding
1515

1616
@Binding var index: Int
1717

Demo/Demo/DemoSlideshow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import SwiftUI
1111

1212
struct DemoSlideshow: View {
1313

14-
let onboarding: LocalizedOnboardingFlow
14+
let onboarding: LocalizedOnboarding
1515

1616
@Binding var index: Int
1717

Demo/Demo/Onboarding+Demo.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extension Onboarding {
4343
static let demoToolbarPopover = Onboarding(id: "demo.toolbar.popover")
4444
}
4545

46-
extension LocalizedOnboardingFlow {
46+
extension LocalizedOnboarding {
4747

48-
static let demo = LocalizedOnboardingFlow(id: "demo-flow")
48+
static let demo = .init(id: "demo-flow")
4949
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ OnboardingKit is a Swift SDK that helps you create onboarding experiences in `Sw
2323

2424
OnboardingKit has different onboarding types. A standard ``Onboarding`` is shown right away, and only once, while other types can require multiple presentation attempts, a certain number of "incorrect" actions, etc.
2525

26-
OnboardingKit also has localized utilities, like the ``LocalizedOnboardingFlow``, and UI components like ``OnboardingPageView`` and ``OnboardingSlideshow``.
26+
OnboardingKit also has localized utilities, like the ``LocalizedOnboarding``, and UI components like ``OnboardingPageView`` and ``OnboardingSlideshow``.
2727

2828

2929

RELEASE_NOTES.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ Breaking changes can still occur in minor updates, if there's a strong reason fo
88

99
## 8.0
1010

11-
This version adds support for strict concurrency and a new slideshow component.
11+
This version adds support for strict concurrency and a new `OnboardingSlideshow` component.
1212

13-
### ✨ New features
14-
15-
* `OnboardingSlideshow` is a new view that automatically slides through a set of pages.
13+
To simplify the `OnboardingPageView` and `OnboardingSlideshow` view builder setup, these functions have been refactored to only use `OnboardingPageInfo` as parameter.
1614

17-
### 💥 Breaking changes
18-
19-
* To simplify the OnboardingPageView and OnboardingSlideshow view builders, these functions have been refactored to only use the OnboardingPageInfo type as parameter. This is a breaking change, but it's very easy to fix. Sorry for any inconvenience.
15+
### ✨ New features
2016

17+
* `OnboardingSlideshow` is a new view that automatically slides through a set of pages.
2118

2219

2320

Sources/OnboardingKit/OnboardingKit.docc/Getting-Started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ Both views can be styled by applying a style view modifier to the view hierarchy
7878

7979
## Localization
8080

81-
You can use a ``LocalizedOnboardingFlow`` to automatically generate onboarding pages from the localized strings in your project. This makes it easy to manage your onboarding flows with just text and assets, without writing more code.
81+
You can use a ``LocalizedOnboarding`` to automatically generate pages from the localized strings in your project. This makes it easy to manage your onboarding with just text and assets, without writing any code.

Sources/OnboardingKit/OnboardingKit.docc/OnboardingKit.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ OnboardingKit is a Swift SDK that helps you create onboarding experiences in `Sw
1212

1313
OnboardingKit has different onboarding types. A standard ``Onboarding`` is shown right away, and only once, while other types can require multiple presentation attempts, a certain number of "incorrect" actions, etc.
1414

15-
OnboardingKit also has localized utilities, like the ``LocalizedOnboardingFlow``, and UI components like ``OnboardingPageView`` and ``OnboardingSlideshow``.
15+
OnboardingKit also has localized utilities, like the ``LocalizedOnboarding``, and UI components like ``OnboardingPageView`` and ``OnboardingSlideshow``.
1616

1717

1818

@@ -59,10 +59,7 @@ OnboardingKit is available under the MIT license.
5959
- ``ConditionalOnboarding``
6060
- ``CorrectBehaviorOnboarding``
6161
- ``DelayedOnboarding``
62-
63-
### Localization
64-
65-
- ``LocalizedOnboardingFlow``
62+
- ``LocalizedOnboarding``
6663

6764
### Views
6865

0 commit comments

Comments
 (0)