Xcode 6.2: Swift should have a way of specifying file counterparts which are picked up by Xcode

Originator:andrew
Number:rdar://20170459 Date Originated:16-Mar-2015 09:00 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.2 (6C131e)
Classification:Enhancement Reproducible:Always
 
Summary:

The assistant editor in Xcode would be a lot more useful if Swift source files had a way of specifying other files which are counterparts in comments; a bit like // MARK: is a comment which helps with navigation. 

For example in MyView.swift you might see a comment at the top of the file like:

// COUNTERPART: MyModel.swift

At the moment I currently have to use the “Manual” setting about 90% of the time in order to get two closely related source files to display next to each other.

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!