It is really strange for Xcode (version 8.1 (8B62)) to act this way without helping me complete the callbacks automatically, let me give a concrete example:
See the photo when I double-clicked or got involved in this proposed call, which is SingleRequestCallBack , Xcode should give me a block. But this is not so. Instead, Xcode simply completes this statement, which is FirebaseSingleRequest.SingleRequestCallBack , and if you double-click on the proposed callback, Xcode will give you an error report in your editor and make all the codes white.
This also happens in the Firebase library and even in the UIViewController functions (for example, reject ). See second screen shot.


The steps that I have already taken:
- Clean and clean project assembly.
- Restart xcode
- Turn off the machine.
So the question is: how to fix it? What causes this problem?
source share