Bot releases are hidden (Show)
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.
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:
DeferredHint
protocol is removed and the StandardDeferredHint
has been renamed to DeferredHint
. This makes the class hierarchy a lot easier to manage.DeferredTutorial
protocol is removed, and the StandardDeferredTutorial
has been renamed to DeferredTutorial
, just as the hints above.LocalizedTutorial
class has been removed. Instead, this functionality is now accessible by using a new StandardTutorial
initializer.This version removes presentation logic from hints/tutorials to their presenters. Instead of calling present
on your hints and tutorials, now use the presenters.
The presenter protocols have also been refactored. The first parameter names are now implicit.
HintPresenter
now has a dismissAllHints()
function. It's implemented by some of the presenters, where applicable.
This version extends the Hint
and HintPresenter
protocols to make presenting a hint from a UIBarButtonItem
possible. If you have any custom implementations of these protocols, you must extend them.
CalloutHintPresenter
has been improved, so that it can dismiss presented hints. This fixes issue #3.