Skip to content

The Swift library for showing the coach marks (useful for onboarding or run-time help purposes)

Notifications You must be signed in to change notification settings

megaganjotsingh/CoachMarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoachMarks

Demo

Easy to Use

Define all coach marks herr

       let coachMarks: [CoachMark] = [
            CoachMark(
                rect: Your view's frame,
                caption: "Tap task for  task details & messages",
                shape: .roundedRect(cornerRadius: 10)
            ),
            CoachMark(
                rect: Your view's frame,
                caption: "Tap name for patient notes & all task details",
                shape: .square
            ),
       ]

You can simply add above coach marks to view

      let coachMarksView = CoachMarksView(frame: view.bounds, coachMarks: coachMarks)
      view.addSubview(coachMarksView)

Now run the coach marks by calling start() function

      coachMarksView.start()

Collaboration

I tried to build an easy to use API, but I'm sure there are ways of improving and adding more features, If you think that we can do the Coach Marks more powerful please contribute with this project.

About

The Swift library for showing the coach marks (useful for onboarding or run-time help purposes)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages