How to import a Swift module with plus (+) in Xcode

I'm trying to import a module called NSObject + Rx ", but Xcode complains of an obscure error (consecutive statements, separated by, etc.).

import NSObject+Rx

Any idea to import a module with special characters like this?

+4
source share
2 answers

From Apple Docs :

Naming your product module

Xcode Swift Objective-C, Xcode , . . , , (.), (_) . , .

Xcode , . , .

.

, NSObject+Rx NSObject_Rx , .

+4

. (+) (_), .

import NSObject_Rx
0

All Articles