Xcode has the "helpful feature" (in quotes because its not helpful to me) of generating a swift-syntax representation of objective-c headers.
When using shortcuts to open a .h file (cmd-shift-o then type Foo.h) -- sometimes you are taken to the swift representation of Foo.h and sometimes to the objective-c representation.
The vast majority of the time, I want the objective-c representation -- is there a way to quickly switch to it with keyboard shortcuts when Xcode dumps you in the swift version?
As of Xcode 9 (possibly before), you can select the "counterpart" from the four square menu. One is labeled as the swift representation, one is the ObjC representation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With