No module such as Error

Hello, I am using swift to develop an app. I created a new swift file called PDFkithelper it is in the same folder but the viewcontroller is not recognizing it. can I get help? This is For view controller.

In Swift you can only import module (that's what the error says) or part of module, not a file.

For instance, if PdFHelperKit is a module containing a func showIt, you can import:

import PdFHelperKit

or

import func PdFHelperKit.showIt

But you probably don't needto import anything, as other files in the project are visible everywhere.

Get more explanations here: https://stackoverflow.com/questions/35222044/swift-import-my-swift-class

No module such as Error
 
 
Q