Reputation: 19
I'm trying to use my Swift class into Objective-C code and I came across this answer to do so. However, after import MyModule-Swift.h
, I'm getting compile error in MyModule-Swift.h
:
No type or protocol named 'AVCapturePhotoCaptureDelegate'
Even though it contains @import AVFoundation;
at the top. I'm clueless how to solve this. All I'm trying to do is to use one of the model class (written in Swift) in Objective-C.
Upvotes: 1
Views: 657