When writing C/C++ (and probably Objective-C), in Xcode 9, select function prototypes in header file, control-click, and choose “Generate Missing Function Declarations” at 20:20 in this WWDC video