If you work with the Swift language, and if you select this language when creating the project, you will have only one Swift file and nothing else for the delegate.
If you choose Objective-C, then you will have two separate files: H and M, like previous versions of Xcode (they did not have Swift)
The difference is as follows:
In Objective-C, one file is for declarations (Header File | .H) and one for implementations (Main file | .M).
In the new Swift language, declarations and implementations are in the same file (Swift File | .swift), which is why Swift made this structure better.
Actually, there is no runtime difference between the two languages ββin the delegate, but Swift is easier to learn.
For more information on Swift, download this book from the iBooks Store:
Fast Programming Language (Apple Inc.)
source share