A performance question for developers who have experience adding a high-speed Objective-C codebase.
My premise is this: ultimately Bridging-Header.h can become really big (ultimately it can contain all 1.5k of existing Objective-C classes (give or take classes that won't be accessible from Swift)) and vice versa for PRODUCT-Swift.h generated header.
I am afraid that compilation performance may decrease dramatically: every time when any of the included .h classes has changed, it will have to recompile all .swift files.
This is true? If so, is there a way to optimize performance?
Explanation : Imagine that you included all the project classes in a .pch file, now every change to the class causes a recompilation of the entire project. Bridging-Header.h this look like the way Bridging-Header.h works?
objective-c swift objective-c-swift-bridge
Sash zats
source share