I've got a really strange bug with Swift 2. I am using EventKitUI and I am able to display the view controller. When I try to add support for the delegate though I get two build errors:
Cannot find protocol declaration for 'EKEventEditViewDelegate'
Expected a type
The errors are showing in my projects -swift.h (the project mixes Swift and Objective-c).
Any idea why this is happening? Unless I'm missing something I can't see any basic mistakes (typo etc.) that could cause this.
Strange fix but by importing #import <EventKitUI/EventKitUI.h> in my bridging header the issue was resolved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With