How to use the new Header View for .swift files?

Apple previewed a Header-like view for .swift files during one of the WWDC sessions. I can't remember which one, and I can't remember how to do it.


Any ideas?

Bryan: There are two approaches in Xcode 7 …


• You can switch to seeing the interface for your Swift file (which will replace the file in the editor) by using the "Generated Interface" item in the related files popup in the upper-left of the source editor window. (It will be the item at the bottom of the popup)


• You can view the interface alongside your Swift file by opening the Assistant Editor (using the menu item or the toolbar control in the upper-right of the workspace window.) The "Counterparts" category (which is the default) will show you the generated interface for your Swift file (the title will be the name of your file, followed by "(Preview)".)

How to use the new Header View for .swift files?
 
 
Q