[Xcode] How to reorganise existing Swift files into Groups - liweiyap/text-popover-macOS GitHub Wiki

On the left side of Xcode, right-click a selection of files and then select 'New Group from Selection'. For me, linking was done automatically.