How can I get the bundle ID in Swift?
Objective-C version:
NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
It's pretty much the same thing in Swift except the class and method names have been shortened:
let bundleIdentifier = Bundle.main.bundleIdentifier // return type is String?