sudeepag/SAConfettiView

Path return nil when class added manually

AnselmeKotchap opened this issue · 1 comments

    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.

Did you ever fix this!?