How do I get the application name in Swift?
Googling gave me this:
[[[NSBundle mainBundle] infoDictionary] objectForKey:@\"CFBundleName\"]; >
[[[NSBundle mainBundle] infoDictionary] objectForKey:@\"CFBundleName\"];
let bundleInfoDict: NSDictionary = NSBundle.mainBundle().infoDictionary! let appName = bundleInfoDict["CFBundleName"] as String