Bot releases are hidden (Show)
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.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 on tryPresent
regardless of which class you use.Hint
has been removed.Onboarding
no longer has a userId
property.Onboarding
no longer has a hasBeenPresented
property.Onboarding
no longer has a registerPresentation
function.OnboardingPageView
now takes page values instead of a tutorial.Tutorial
has been removed and replaced with new onboarding views.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 for Tutorial
and one for GenericTutorial
.Tutorial
is no longer generic.This is the last minor version before 5.0, which will make the library require iOS 13, macOS 10.5, tvOS 13 and watchOS 6 .
This version deprecates the OnboardingPresenter
concept and adds a tryPresent
function to the Onboarding
instead.
TutorialPageInfo
is a new struct.UrlTutorialPage
is a new tutorial page with a URL
.Tutorial
is now generic to better handle custom tutorial page types.MockingKit
.Quick
and Nimble
.This version deprecates the OnboardingPresenter
concept and adds a tryPresent
function to the Onboarding
instead.
This makes the library really lightweight.
Onboarding
has a new tryPresent
function that takes a custom presentation action.TutorialPage
now implements Identifiable
.OnboardingPresenter
has been deprecated.HintPresenter
has been deprecated.TutorialPresenter
has been deprecated.This major version prepares the library for Xcode 13 and SwiftUI 5.5. It also removes some UIKit-specific parts of the library, which makes the entire library run on all platforms.
If you need the removed UIKit
parts, you can grab them from the 3.1.1
release.
OnboardingPresenter
no longer requires AnyObject
conformance.Tutorial
is no longer generic.UIKit
folder has been removed in this version.In this version adds support for presenting titles in CalloutView
:
Hint
has a default, empty title
init value.Hint
implements Equatable
.Hint
has a new hasTitle
property.CalloutViewPresenter
now supports presenting titles.CalloutViewPresenter
has new titleFont
and titleTextSpacing
properties.The demo has been updated with new onboarding demos.
This version adds support for macOS, tvOS and watchOS, with several breaking changes.
UIKit
is now only required in UIKit
-specific files, which means that the rest of the model supports watchOS and macOS.
New functionality:
Onboarding
has more logic.Breaking changes:
Onboarding
has been disconnected from Hint
and Tutorial
.Onboarding
, Hint
and Tutorial
are now base classes instead of protocols.Hint
and Tutorial
no longer implements Onboarding
, and are only data carriers.StandardOnboarding
, StandardHint
and StandardTutorial
have been removed.DeferredOnboarding
has been renamed to DelayedOnboarding
.HintPresenter
and TutorialPresenter
now extend OnboardingPresenter
, but add no extra logic.Tutorial
no longer have the resourceName(for:at:)
logic, but is now built up by generic pages.AlertingHintPresenter
now only contains presentation logic.The demo has been rewritten from scratch, but it still UIKit-based until Xcode 12 is released.