In my AppDelegate, I have a method
application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool
However, I get the following warning:
The original code from that method came from an Apple sample, then I did other attempts by copy/pasting the method definition from the protocol file, also, using AppCode, I just did an override/implement.
Everytime, XCode ends up telling me it's nearly a match.
I created a brand new project, added that method to the AppDelegate, no problem. I then take the entire content of the AppDelegate, paste it into my other project, and there, AppCode tells me again it's nearly a match.
Has anyone ever met that? Any suggestion on how to convince XCode/the compiler that this is really the method it says it is?