NS_SWIFT_NAME is an attribute in Objective-C that is used to specify a Swift-compatible name for an Objective-C symbol. When writing Objective-C code that needs to be accessed from Swift, it is often necessary to provide alternate names for Objective-C symbols that have names that do not conform to Swift’s naming conventions. For example, in Objective-C,