ios - Swift: Cannot find protocol declaration -
i've got strange bug swift 2. using eventkitui
, able display view controller. when try add support delegate though 2 build errors:
cannot find protocol declaration 'ekeventeditviewdelegate'
expected type
the errors showing in projects -swift.h
(the project mixes swift , objective-c).
any idea why happening? unless i'm missing can't see basic mistakes (typo etc.) cause this.
strange fix importing #import <eventkitui/eventkitui.h>
in bridging header issue resolved.
Comments
Post a Comment