I have a typedef as so:
typedef NSString VMVideoCategoryType;
extern VMVideoCategoryType *const VMVideoCategoryType_MusicVideo;
extern VMVideoCategoryType *const VMVideoCategoryType_Audio;
extern VMVideoCategoryType *const VMVideoCategoryType_Performance;
extern VMVideoCategoryType *const VMVideoCategoryType_Lyric;
extern VMVideoCategoryType *const VMVideoCategoryType_Show;
I've included this file in the bridging header. However, when I try to access VMVideoCategoryType
in a Swift file I get an error:
Use of undeclared type 'VMVideoCategoryType'
Is there any way to make this work or do I have to completely re-define this type in Swift?