Skip to content

macro-dadt/TutorialKitSwift

Repository files navigation

TutorialKitSwift

CI Status Version License Platform

Screenshot

Example

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

Requirements

Installation

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

pod 'TutorialKitSwift'

Usage

import UIKit
import TutorialKitSwift
class ViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        TutorialKitSwift.showTutorial(ofView: your_view, text: "Hey bae, How you doin?", direction: .down, tutKey: "tut1_key",mode: .always, bubbleColor:UIColor.systemBlue)
    }
}
extension ViewController:TutorialViewDelegate{
    func didFinishTut(tutKey: String) {
        print(tutKey)
    }
}

Author

macro-dadt, [email protected]

License

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