Releases: danielsaidi/OnboardingKit
5.0.1
This version adjusts the TutorialPageInfo type slightly.
✨ New features
TutorialPageInfo
now has acurrentPage
property.TutorialPageInfo
isCurrentPage
is now a property instead of a function.
5.0.0
This version bumps the minimum iOS version to 13 to allow importing SwiftUI.
✨ New features
TutorialSlideView
is a new view for presenting tutorial-based onboarding flows.TutorialSlideViewStyle
can be used to styleTutorialSlideView
views.
4.2.0
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.
✨ New features
TutorialPageInfo
is a new struct.UrlTutorialPage
is a new tutorial page with aURL
.
💡 Behavior changes
Tutorial
is now generic to better handle custom tutorial page types.
📦 Dependencies
- TuttiTests no longer depends on
MockingKit
. - TuttiTests no longer depends on
Quick
andNimble
.
4.1.0
This version deprecates the OnboardingPresenter
concept and adds a tryPresent
function to the Onboarding
instead.
This makes the library really lightweight.
✨ New features
Onboarding
has a newtryPresent
function that takes a custom presentation action.TutorialPage
now implementsIdentifiable
.
🗑 Deprecations
OnboardingPresenter
has been deprecated.HintPresenter
has been deprecated.TutorialPresenter
has been deprecated.
4.0.0
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.
💡 Behavior changes
OnboardingPresenter
no longer requiresAnyObject
conformance.
💥 Breaking changes
Tutorial
is no longer generic.- The
UIKit
folder has been removed in this version.
3.1.1
💡 Behavior changes
CalloutView
no longer depends onUIApplication.shared
.
3.1.0
✨ New features
Onboarding
has a newhasBeenPresented
property.
3.0.2
In this version adds support for presenting titles in CalloutView
:
Hint
has a default, emptytitle
init value.Hint
implementsEquatable
.Hint
has a newhasTitle
property.CalloutViewPresenter
now supports presenting titles.CalloutViewPresenter
has newtitleFont
andtitleTextSpacing
properties.
The demo has been updated with new onboarding demos.
3.0.1
This version adds a new ConditionalOnboarding
type.
3.0.0
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 fromHint
andTutorial
.Onboarding
,Hint
andTutorial
are now base classes instead of protocols.Hint
andTutorial
no longer implementsOnboarding
, and are only data carriers.StandardOnboarding
,StandardHint
andStandardTutorial
have been removed.DeferredOnboarding
has been renamed toDelayedOnboarding
.HintPresenter
andTutorialPresenter
now extendOnboardingPresenter
, but add no extra logic.Tutorial
no longer have theresourceName(for:at:)
logic, but is now built up by generic pages.- All hint presenters now require both a hint and an onboarding.
- All tutorial presenters now require both a tutorial and an onboarding.
AlertingHintPresenter
now only contains presentation logic.
The demo has been rewritten from scratch, but it still UIKit-based until Xcode 12 is released.