In Swift, at runtime, is it possible to obtain all active compilation conditions?
I know I can check known ones, like ye olde
#if DEBUG
I want all of them at once, like (and this is totally imaginary code)
let acc: [String] = CompileTimeInfo.activeCompilationConditions
Aucun commentaire:
Enregistrer un commentaire