Skip to content

Easily show tutorial anywhere in your project with the minimal amount of code to obstruct the regular app flow.

License

Notifications You must be signed in to change notification settings

funct7/KRWalkThrough

Repository files navigation

KRWalkThrough

[![CI Status](http://img.shields.io/travis/Josh Woomin Park/KRWalkThrough.svg?style=flat)](https://travis-ci.org/Joshua Park/KRWalkThrough) Version License Platform

0.11.0 UPDATE

  • TutorialView can be customized to bypass touch to the underlying view while blocking only certain areas using makeUnavailable(rect:action:). By making the rect unavailable and making the whole bounds of the TutorialView instance available--specifically in that order--users can touch anywhere except for those areas marked unavailable.
  • TutorialView can trigger actions without the use of adding buttons as subviews. This is also true for areas that are made available through calling one of the makeAvailable() variants, through passing a block as the action argument. This obviates one having to add a button to the TutorialView instance, and calling a function within the callback and sending a .touchUpInside event to the underlying button.

Note on Swift 3 & iOS 10

For those who are using Swift 2.2-, there is a separate swift2.2 branch. Or you can choose to checkout 0.9.7.

For those who have migrated to Swift 3, please read the following.

There seems to be a false memory leak bug in Swift 3 & iOS 10. What I've found out about this bug so far points me to think that this is not a real memory leak. To find out more about this, please read this StackOverflow post.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

KRWalkThrough is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "KRWalkThrough"

Author

Josh Woomin Park, [email protected]

License

KRWalkThrough is available under the MIT license. See the LICENSE file for more info.

About

Easily show tutorial anywhere in your project with the minimal amount of code to obstruct the regular app flow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published