configuration - Swift - How to set up config variables for multiple targets in XCode Project -


i'm starting white label app use many clients (targets). targets share functionalities have different values global variables such services urls, names, cosmetics, etc.

in obj-c use constants.h file each target , #macros since project swift 3 native don't know best approach.

if use different .plist files each target, have redefine settings manually prefer stay same between targets cfbundleversion, permissions, etc.

in these configurations need set arrays , dictionaries don't know if using .xconfig files best approach either.

so, if has faced similar in swift , can explain approach appreciated.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -