Reputation: 585
I have this annoying error that stops me from developing some features in my app. Here is the thing:
Now I have this file EventCell.h:
From another file CalendarView.h:
I can't get this issue ! Please help me :)
Upvotes: 1
Views: 469
Reputation: 3077
You cannot import the bridging header into a .h file. You should use forward declarations if you need access to a Swift class.
Use @class MyClassName, or @protocol MyProtocolName
Upvotes: 3