Skip to content

Use of unresolved identifier AppearanceConfiguration #33

@fury21

Description

@fury21

Hi!

I just copy code from github to my project and get this error: "Use of unresolved identifier AppearanceConfiguration". How can i fix it? (I'm trying to clean build and reinstall pod, bot nothing...

Full text:
let appearance = AppearanceConfiguration(tintColor: .orange,
titleColor: .red,
textColor: .white,
backgroundColor: .black,
imageContentMode: .scaleAspectFit,
titleFont: UIFont.boldSystemFont(ofSize: 32.0),
textFont: UIFont.boldSystemFont(ofSize: 17.0))

    let page = OnboardPage(title: "Welcome to OnboardKit",
                           imageName: "CheckmarkTrue",
                           description: "OnboardKit helps you add onboarding to your iOS app")
    
    let onboardingViewController = OnboardViewController(pageItems: [page, page], appearanceConfiguration: appearance)
    
    onboardingViewController.presentFrom(self, animated: true)

Снимок экрана 2020-03-12 в 13 25 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions