本節(jié)將會寫一個簡單demo來使用上一節(jié)中創(chuàng)建的UmbrellaFramework。 demo地址:https://github.com/huibaoer/Demo_UmbrellaFramework UmbrellaFramework使用demo 1.創(chuàng)建工程UmbrellaFrameworkDemo 2.嵌入UmbrellaFramework虽另,選擇工程->General->Embedded binaries.添加UmbrellaFramework知残。UmbrellaFramework將會同時添加到 Linked Frameworks and Libraries. UmbrellaFrameworkDemo_1 3.在 viewDidLoad中添加代碼 UmbrellaFrameworkDemo_2 4.運行工程鳄抒,查看控制臺,UmbrellaFramework運行良好?。 UmbrellaFrameworkDemo_3