Mann Mann - 1 month ago 6
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 .


This way you can do that in swift:

let languageBundle = NSBundle(path: path)