在默认模板中,我们可以找到以下代码:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool
AnyObject
变量,则该对象将分别转换为NSString或NSNumber。 - Aaron Brager