Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when open example get Error loading theme: notFound #1

Closed
mohammadshalhoob opened this issue Sep 30, 2017 · 5 comments
Closed

when open example get Error loading theme: notFound #1

mohammadshalhoob opened this issue Sep 30, 2017 · 5 comments

Comments

@mohammadshalhoob
Copy link

mohammadshalhoob commented Sep 30, 2017

Error loading theme: notFound , when open example

test on xcode 8.3.3 , iphone 4 , ios 9.3.

i fix it like this , in AppDelegate didFinishLaunchingWithOptions .

    if let path = Bundle.main.url(forResource: "Style", withExtension: "yaml") {
        Stylist.shared.watch(url: path, animateChanges: true) { error in
            print("Error loading theme:\n\(error)")
        }

    }

thanks

@yonaskolb
Copy link
Owner

Interesting, I'm not seeing that error. I'm sure it was working in Xcode 8 and it's working for me now in Xcode 9.

@yonaskolb
Copy link
Owner

@mohammadshalhoob I just updated to Swift 4 in master. You can see if it works for you in Xcode 9

@mohammadshalhoob
Copy link
Author

ok i will test it ,

thanks

@yonaskolb
Copy link
Owner

Any luck @mohammadshalhoob?

@yonaskolb
Copy link
Owner

Closing this for now. Let me know if you have any problems @mohammadshalhoob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants