SAConfettiView icon indicating copy to clipboard operation
SAConfettiView copied to clipboard

Path return nil when class added manually

Open AnselmeKotchap opened this issue 9 years ago • 1 comments
trafficstars

    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.

AnselmeKotchap avatar Mar 28 '16 13:03 AnselmeKotchap

Did you ever fix this!?

famictech2000 avatar Jan 13 '18 03:01 famictech2000