I'm adding some swift classes to Objective-C project. The problem is that code under #ifdef in Objective-C classes is not visible in Swift classes. I've defined some static properties to reflect #defines but it is very big overhead to go over whole project and to do that manually. Is there any easier and correct way to do that?
Note: the question is not about how to do in swift... This is about how to handle already existent defines in objective-c to make them visible in swift.