I have coreData NSManagedObject class named DTMyDay which is in swift.I have created the category lets day DTMyDay (Inverse_Mapping) as DTMyDay+Inverse_Mapping.h on it (in OBJC language) by importing:
#import "ProductModuleName-Swift.h"(Automatically generated header)
that works fine.If I need to expose the code of Category file into some Swift file then I'll import the OBJC Category file into bridging header as I did it before,But it gives me an error saying that "error: 'ProductModuleName-Swift.h' file not found" It does because its going in loop like 1.expose swift file into new OBJC(B file) by #import "ProductModuleName-Swift.h in B file 2.To expose OBJC(B file) into swift,I'll import this into bridging header file like #import BFIle.h. Which in turns Bridging header importing #import "ProductModuleName-Swift.h That cause error.Please help me.Thanks in Advance !!!!
Aucun commentaire:
Enregistrer un commentaire