Releases: danielsaidi/OnboardingKit
8.3.0
✨ New features
OnboardingPageInfo
currentPageIndex
is now mutable.OnboardingPageManager
is a new page manager protocol.OnboardingPageState
is a new observable page state class.OnboardingPageView
&OnboardingSlideshow
now supports edge taps on all platforms.OnboardingPageView
&OnboardingSlideshow
now supports arrow keys on macOS & tvOS.OnboardingPrimaryButton
is a new button view that can be used in an onboarding flow.OnboardingScreen
is a new container view that can be used to wrap any onboarding flow.OnboardingScreenCenteredContent
is a new container view that can be used to center a page view.View
has newonboardingPopover
modifiers that makes it easy to present a popover from any view.
💡 Adjustments
OnboardingSlideshow
now takes a configuration as a view modifier.
🐛 Bug Fixes
OnboardingPageView
&OnboardingSlideshow
no longer block interactions.
🗑️ Deprecated
LocalizedOnboarding
has been deprecated.OnboardingSlideshow
no longer takes a background view builder.OnboardingSlideshowConfiguration
no longer has anisAnimated
property.
8.2.0
✨ New features
OnboardingSlideshow
is now available to all platforms.
8.1.0
This version updates the package for Swift 6.
8.0.0
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.
✨ New features
OnboardingSlideshow
is a new view that automatically slides through a set of pages.
7.0.2
✨ New features
View
has a newtryPresent
function.
7.0.1
🐛 Bug Fixes
- The custom onboarding page view style is now applied on appear, instead of as a task.
7.0.0
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.
💡 Behavior changes
Onboarding
and its subclasses have been simplified.Onboarding
is now based ontryPresent
regardless of which class you use.
💥 Breaking changes
- 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.
6.3.0
This version bumps macOS to 11.
✨ New features
TutorialPageView
now supports macOS.
6.2.0
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.
✨ New features
GenericTutorial
can be used for generic use-cases.Onboarding
has new static builders for various types.
💡 Behavior changes
TutorialPageView
has one initializer forTutorial
and one forGenericTutorial
.
💥 Breaking changes
Tutorial
is no longer generic.
6.1.2
✨ New features
LocalizedTutorial
now supports custom bundles.