iOS移動應(yīng)用程序開發(fā)|第十講-圖形用戶界面:Getting Starte...

第十次作業(yè)
?
01:40:07
?作業(yè)一:完成下面的練習(xí)題
1. Pool Puzzle
Your job is to take lines of code from the pool and place them into the blank lines in a Playground. You may not use the same line more than once, and you won’t need to use all the lines. Your goal is to make the code that will generate the output shown.


2. BE the Swift Compiler
Each of the Swift code snippets on this and the following pages represent some SwiftUI views. Your job is to play Swift compiler, and determine whether each of these will run or not. If they will not compile, what’s wrong with them?



作業(yè)二:完成Playgrounds App中的《關(guān)于我》和《選擇自己的故事》兩個(gè)練習(xí)

標(biāo)簽: