application(_:didFinishLaunchingWithOptions:)' nearly matches optional requirement
After installing Xcode 8 beta 6, I'm getting a warning saying: Instance method 'application(_:didFinishLaunchingWithOptions:)' nearly matches optional requirement 'application(_:didFinishLaunchingWithOptions:)' of protocol 'UIApplicationDelegate' in my App Delegate. There are 2 suggested fixits to silence the warning: Mark the method as private Add @nonobjc to the method Doing either silences the warning. But why does this need to be done? iOS 12 SDK Update In the iOS 12 SDK (that ships with Xcode 10), UIApplicationLaunchOptionsKey has now been renamed to the nested type UIApplication