 
 import UIKit
 
+// 协议
 protocol Person {
     func show()
 }
 
+// 遵守协议
 struct Boy: Person {
     var name = ""
 

    }
}

class TShirt: Finery {
    override func show() {
        print("T 恤", separator: "", terminator: " + ")

    }
}

var b = Boy("Kingcos")

// 按顺序装饰
let tShirtA = TShirt(b)
let chineseTunicSuitA = ChineseTunicSuit(tShirtA)

chineseTunicSuitA.show()

let chineseTunicSuitB = ChineseTunicSuit(b)
let tShirtB = TShirt(chineseTunicSuitB)

tShirtB.show()
