OnboardingKit tried to honors semantic versioning.
Breaking changes can still occur in minor updates, if there's a strong reason for it.
This version updates the package for Swift 6.
This version adds support for strict concurrency and a new OnboardingSlideshow
component.
To simplify the OnboardingPageView
and OnboardingSlideshow
view builder setup, these functions have been refactored to only use OnboardingPageInfo
as parameter.
OnboardingSlideshow
is a new view that automatically slides through a set of pages.
View
has a newtryPresent
function.
- The custom onboarding page view style is now applied on appear, instead of as a task.
This version drastically simplifies the library and bumps the platform deployment targets to more modern platform versions.
Please see the docs and the demo for updated examples.
Onboarding
and its subclasses have been simplified.Onboarding
is now based ontryPresent
regardless of which class you use.
-
All deprecated code has been removed.
-
Hint
has been removed. -
Onboarding
no longer has auserId
property. -
Onboarding
no longer has ahasBeenPresented
property. -
Onboarding
no longer has aregisterPresentation
function. -
OnboardingPageView
now takes page values instead of a tutorial. -
Tutorial
has been removed and replaced with new onboarding views.
This version makes OnboardingKit work on visionOS.
This version bumps macOS to 11.
TutorialPageView
now supports macOS.
This version bumps Swift to 5.9.
This version (once again) makes the Tutorial
type non-generic, and adds a GenericTutorial
for the rare use-cases where a generic type is needed. This will once again make it possible to add static properties to the Tutorial
type, to define app-specific values.
GenericTutorial
can be used for generic use-cases.Onboarding
has new static builders for various types.
TutorialPageView
has one initializer forTutorial
and one forGenericTutorial
.
Tutorial
is no longer generic.
LocalizedTutorial
now supports custom bundles.
TutorialSlideView
has been renamed toTutorialPageView
.TutorialSlideViewStyle
has been renamed toTutorialPageViewStyle
.
Tutti is renamed to OnboardingKit.