Conditional Compilation in Swift
These great posts (part1, part2) from Dave DeLong show off all sorts of cool tricks we can use to get the most out of our .xcconfig
files. They’re of particular interest to those targeting disperate plaforms and architectures, but we can all benefit from a little extra xcconfig-fu.
H/T: Michel Tsai (who, by the way, just launched a patrion worthy of your consideration).