when open example get Error loading theme: notFound
mohammadshalhoob opened this issue · comments
mohammadshalhoob commented
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
Yonas Kolb commented
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.
Yonas Kolb commented
@mohammadshalhoob I just updated to Swift 4 in master. You can see if it works for you in Xcode 9
mohammadshalhoob commented
ok i will test it ,
thanks
Yonas Kolb commented
Any luck @mohammadshalhoob?
Yonas Kolb commented
Closing this for now. Let me know if you have any problems @mohammadshalhoob