     }
 }
 
-// 饰物
+// 饰物遵守协议
 class Finery: Person {
     var component: Person
     

    }
}

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


import UIKit

// 协议
protocol Person {
    func show()
}

// 遵守协议
struct Boy: Person {
    var name = ""

