I have a project which I am migrating from Obj-C to Swift 3.0 (and I am quite a noob in Swift).
How do I translate this line?
NSString *folder = [[[N
You can use this method to get listing of the bundle subdirectory and get resources only of the specific type:
Bundle.main.paths(forResourcesOfType: type, inDirectory: folder)