Open Quickly showing generated interface is annoying

Originator:douglashill
Number:rdar://25214965 Date Originated:17-Mar-2016 08:38 PM
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
The Xcode feature where ‘Open Quickly…’ shows the Swift generated interface when opening an Objective-C header from a Swift file is more annoying than useful.

Steps to Reproduce:
1. Open an Xcode project with mixed Objective-C and Swift source.
2. Open a Swift source file in the editor.
3. Use ‘Open Quickly…’ (shift-cmd-O) to open an Objective-C header file (I guess it could be a C header file too).

Expected Results:
For the editor to show the Objective-C header file I opened. So I can read the code I wrote, and edit it.

Actual Results:
Xcode shows the Swift interface generated from the Objective-C header file. This is annoying because:

- I can’t edit the code.
- It’s easier to find my way around when what I see is exactly what I wrote.
- Generating the Swift interface is not as quick as opening the Objective-C header. The delay is less than a second, but is quite noticeable on my MacBook Air.

To open the Objective-C header I need to press shift-cmd-O again then return.

Version:
Xcode 7.2.1 (7C1002) and 7.3 beta (7D152p)
OS X 10.11.3 (15D21)

Notes:


Configuration:
MacBook Air (11-inch, Mid 2013)

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!