0

i merge my swift classes in objective c existing project with the use of bridge.h file after than am not able to import my swift classes into my bridge.h files

enter image description here

Tom Fuller
  • 5,291
  • 7
  • 33
  • 42
srikanth
  • 1
  • 1

2 Answers2

0

import "YOUR-PROJECT-NAME-swift.h"

for your project it's

import "Asianet_Mobile_TV_plus-swift.h"

For more info refer the following links:- https://www.youtube.com/watch?v=afT92TQYpLQ How to call Objective-C code from Swift

0

you can use this tutorial Swift and Objective-C in the Same Project

tip : when define swift class, you must use NSObject for implamantion class

mohsen
  • 4,698
  • 1
  • 33
  • 54