Skip to content

Cannot find 'CoachMarkView' in scope #21

@recodyx

Description

@recodyx

Hi,

tried to integrate SSCoachMarks in my project, but getting error:

Cannot find 'CoachMarkView' in scope

import SSCoachMarks is there and there is not error, so import is working and I can navigate to CoachMarkView in xcode. Any idea what I can do?

import SSCoachMarks

@main
struct myApp: App {
    
    @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
    
    var body: some Scene {
        WindowGroup {
            RootView()
                .modifier(CoachMarkView(onCoachMarkFinished: {  // error here
                    print("onCoachMarkFinished")
                }))
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions