Skip to content

Releases: danielsaidi/OnboardingKit

8.3.0

23 May 11:57
Compare
Choose a tag to compare

✨ 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 new onboardingPopover 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 an isAnimated property.

8.2.0

14 Apr 08:17
Compare
Choose a tag to compare

✨ New features

  • OnboardingSlideshow is now available to all platforms.

8.1.0

04 Oct 21:00
Compare
Choose a tag to compare

This version updates the package for Swift 6.

8.0.0

28 May 20:47
Compare
Choose a tag to compare

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

22 Apr 12:16
Compare
Choose a tag to compare

✨ New features

  • View has a new tryPresent function.

7.0.1

22 Apr 11:58
Compare
Choose a tag to compare

🐛 Bug Fixes

  • The custom onboarding page view style is now applied on appear, instead of as a task.

7.0.0

11 Mar 12:29
Compare
Choose a tag to compare

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 on tryPresent regardless of which class you use.

💥 Breaking changes

  • All deprecated code has been removed.
  • 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.

6.3.0

14 Dec 20:56
Compare
Choose a tag to compare

This version bumps macOS to 11.

✨ New features

  • TutorialPageView now supports macOS.

6.2.0

12 Dec 07:21
Compare
Choose a tag to compare

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 for Tutorial and one for GenericTutorial.

💥 Breaking changes

  • Tutorial is no longer generic.

6.1.2

28 Aug 15:48
Compare
Choose a tag to compare

✨ New features

  • LocalizedTutorial now supports custom bundles.