Mann Mann - 1 year ago 199
Swift Question

Get Bundle reference from Path in Swift

I want to get NSBundle reference from Path in swift.

Like in Objective-c >

NSBundle* languageBundle = [NSBundle bundleWithPath:path];

How we can achieve same in swift .

Answer Source

This way you can do that in swift:

let languageBundle = NSBundle(path: path)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download