//动态获取命名空间(CFBundleExecutable这个键对应的值就是项目名称,也就是命名空间)
let nameSpace = NSBundle.mainBundle().infoDictionary!["CFBundleExecutable"] as! String
//动态获取命名空间(CFBundleExecutable这个键对应的值就是项目名称,也就是命名空间)
let nameSpace = NSBundle.mainBundle().infoDictionary!["CFBundleExecutable"] as! String