xcode8 - Single -swift.h shared by multiple targets -


how include single -swift.h in file shared multiple targets in xcode 8?

i want include "projectname-swift.h" once rather have sea of

#if something_specific_for_target_1 #import "target1-swift.h" #elsif something_specific_for_target_2 #import "target2-swift.h" ... 

this objective c swift header file multiple targets

helped.

once have added custom user defined setting swift_module_name foo each , every target can swiftly import foo-swift.h instead of gazillion of target specific targetx-swift.h


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -