Calling obj-c enum from swift not working after upgrading to Xcode 7.3 swift 2.2 Calling obj-c enum from swift not working after upgrading to Xcode 7.3 swift 2.2 objective-c objective-c

Calling obj-c enum from swift not working after upgrading to Xcode 7.3 swift 2.2


You can't declare "typedef NS_ENUM (NSUInteger, EnumName){}" within @interface and @end, the parsing of xcode 7.2 is different from xcode 7.3. So, just move your enum declarations outside @interface @end block and it should work fine, otherwise its considered a private declaration