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.