In the same module

Inside a module named “MyModule”, Xcode generates a header named MyModule-Swift.h which exposes public Swift classes to Objective-C. Import this header in order to use the Swift classes:

public
#import "MyApp-Swift.h"
#import <MyFramework/MyFramework-Swift.h>

Relevant build settings:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f0407fe1-8559-48cc-b5b6-c96d67942625/Untitled.png


In another module

Using @import MyFramework; imports the whole module, including Obj-C interfaces to Swift classes (if the aforementioned build setting is enabled).