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
),
]
let coachMarksView = CoachMarksView(frame: view.bounds, coachMarks: coachMarks)
view.addSubview(coachMarksView)
coachMarksView.start()
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.