canImport
// Client code @available(Magician 1.5) class CrystalBallView : MagicView { /*...*/ }
func scareMySiblings() { if #available(Magician 1.2) { summonDemons() } else { print("BOO!!") } }