while merging swift code to objective c existing projective c project am not able to import the header files into bridge file and also i get some syntax errors in the merged swift classes am getting following errors what has showed in image
Asked
Active
Viewed 509 times
-2
-
1Have you checked this thread? http://stackoverflow.com/questions/24206732/cant-use-swift-classes-inside-objective-c – The Dreams Wind Apr 13 '17 at 05:43
-
Possible duplicate of [How to call Objective-C code from Swift](http://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift) – Axel Apr 13 '17 at 07:12
1 Answers
0
Do you create Bridging Header from these steps.
Step1. Create Bridging Header file
Step 2. After creating bridging header goto Project Settings and search Objective-C bridging header and add bridging header file path.
By following these step you have successfully added bridging header file. Next you have to import framework, you like to add. If you still found any issue then show us the error.

Usman Javed
- 2,437
- 1
- 17
- 26