adding foundationConstantAsString for swift