I have a Swift enum defined like this:
@objc enum SomeEnum: Int {
  case one, two
}
I can use SomeEnum in Objetive-C files normally, but when I want to declare a property in header file like this:
@property (nonatomic, assign) SomeEnum someEnum;
Compiler gives error message Unknown type name 'SomeEnum'. What's interesting I can create a property in private interface of the class. Also I tried cleaning the build folder, didn't help. File <module>-Swift.h is already imported in .pch file. Do you know what is the source of the problem?
 
    