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

Path return nil when class added manually #10

Open
AnselmeKotchap opened this issue Mar 28, 2016 · 1 comment
Open

Path return nil when class added manually #10

AnselmeKotchap opened this issue Mar 28, 2016 · 1 comment

Comments

@AnselmeKotchap
Copy link

    let path = NSBundle(forClass: SAConfettiView.self).pathForResource("SAConfettiView", ofType: "bundle")

    let bundle = NSBundle(path: path!)

the path is nil so the unwrapping crashes. I add the SAConfettiView.swift manually into my project.

@famictech2000
Copy link

Did you ever fix this!?

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