Skip to content

Releases: danielsaidi/OnboardingKit

5.0.1

07 Sep 08:41
Compare
Choose a tag to compare

This version adjusts the TutorialPageInfo type slightly.

✨ New features

  • TutorialPageInfo now has a currentPage property.
  • TutorialPageInfo isCurrentPage is now a property instead of a function.

5.0.0

05 Sep 19:40
Compare
Choose a tag to compare

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 style TutorialSlideView views.

4.2.0

05 Sep 19:17
Compare
Choose a tag to compare

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 a URL.

💡 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 and Nimble.

4.1.0

30 Apr 09:11
Compare
Choose a tag to compare

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 new tryPresent function that takes a custom presentation action.
  • TutorialPage now implements Identifiable.

🗑 Deprecations

  • OnboardingPresenter has been deprecated.
  • HintPresenter has been deprecated.
  • TutorialPresenter has been deprecated.

4.0.0

23 Sep 13:57
Compare
Choose a tag to compare

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 requires AnyObject conformance.

💥 Breaking changes

  • Tutorial is no longer generic.
  • The UIKit folder has been removed in this version.

3.1.1

10 Aug 14:35
Compare
Choose a tag to compare

💡 Behavior changes

  • CalloutView no longer depends on UIApplication.shared.

3.1.0

10 Aug 14:35
Compare
Choose a tag to compare

✨ New features

  • Onboarding has a new hasBeenPresented property.

3.0.2

27 Dec 07:38
Compare
Choose a tag to compare

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.

3.0.1

09 Sep 09:20
Compare
Choose a tag to compare

This version adds a new ConditionalOnboarding type.

3.0.0

07 Sep 13:45
Compare
Choose a tag to compare

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.
  • 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.