Releases: danielsaidi/OnboardingKit
3.1.0
✨ New features
- Onboardinghas a new- hasBeenPresentedproperty.
3.0.2
In this version adds support for presenting titles in CalloutView:
- Hinthas a default, empty- titleinit value.
- Hintimplements- Equatable.
- Hinthas a new- hasTitleproperty.
- CalloutViewPresenternow supports presenting titles.
- CalloutViewPresenterhas new- titleFontand- titleTextSpacingproperties.
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:
- Onboardinghas more logic.
Breaking changes:
- Onboardinghas been disconnected from- Hintand- Tutorial.
- Onboarding,- Hintand- Tutorialare now base classes instead of protocols.
- Hintand- Tutorialno longer implements- Onboarding, and are only data carriers.
- StandardOnboarding,- StandardHintand- StandardTutorialhave been removed.
- DeferredOnboardinghas been renamed to- DelayedOnboarding.
- HintPresenterand- TutorialPresenternow extend- OnboardingPresenter, but add no extra logic.
- Tutorialno 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.
- AlertingHintPresenternow only contains presentation logic.
The demo has been rewritten from scratch, but it still UIKit-based until Xcode 12 is released.
2.1.4
This version updates all external test dependenies to the latest versions.
2.1.2
This version makes Package use https references instead of ssh.
2.1.0
This version adds Xcode 11 and iOS 13 support, including support for dark mode and high contrast color variants.
2.0.0
This version upgrades Tutti to Swift 5. The version contains no breaking changes.
1.5.1
In 1.5.0, I added a new way of bumping the build number, by using a time stamp instead of an incremental step. However, the first time I use this, it sets the "library version" flag, for which this format is invalid. This happened in 1.5.0, which meant that it could not be installed with Carthage, nor built in Xcode. This version fixes this error.
1.5.0
This version has new hint and tutorial types. The CorrectBehaviorOnboarding is an onboarding experience that is triggered when a user performs a certain number of incorrect actions. CorrectBehaviorHint and CorrectBehaviorTutorial can be used to build user behavior-based onboarding experiences. There are, however, no demos for these new classes yet.
This version includes a bug fix by @sebbo176, that makes sure that callout hints are presented using the correct superview. This solves a problem where hints did remain on screen even when the main view controller changed.
This version has some breaking changes:
- The DeferredHintprotocol is removed and theStandardDeferredHinthas been renamed toDeferredHint. This makes the class hierarchy a lot easier to manage.
- The DeferredTutorialprotocol is removed, and theStandardDeferredTutorialhas been renamed toDeferredTutorial, just as the hints above.
- The LocalizedTutorialclass has been removed. Instead, this functionality is now accessible by using a newStandardTutorialinitializer.