In my Obj-C files, I have this static member and getter :
//******* DBASplashViewController.m ********
static SWRevealViewController *staticRVC;
+ (SWRevealViewController*)currentSWRevealViewController
{
return staticRVC;
}
//******* DBASplashViewController.h ********
+ (SWRevealViewController*)currentSWRevealViewController;
In my swift code, I have an error on this line :
let SWVC = DBASplashViewController.currentSWRevealViewController
Error :
*DBASplashViewController has no member currentSWRevealViewController*
EDIT :
This is my bridging file :
#import "DBASplashViewController.h"
As you can see, DBASplashViewController is perfectly interpreted by XCode, but not the static method :
What have I done wrong?