CS日誌02 - Xcode介面、User Interface

CS日誌02 - Xcode介面、User Interface

Day2 :)

面試完亂七八糟想了一堆,思考完決定還是繼續學好App~🐥

L2

  • Xcode基本介面、功能

L3

  • Views:
    • elements user sees on the screen
    • e.g. Color, Image, Text, Spacer, Rectangle
  • Modifiers:
    • apply to the views to change their behavior or look
    • e.g. Corner Radius, Font, Foreground Color
  • Layout containers (Container view):
    • organize and arrange views, also considered as a view (=container view)
    • e.g. VStack(Vertical垂直排), HStack(Horizontal水平排), ZStack(depth stack)
    • can be nested
  • 先有一個想設計成的樣子,再照著做出來
  • 安裝SF Symbols,加星星圖案:好酷!!!好多圖案可以用好方便!
  • Spacer: 佔據空間的東東,如果有很多個spacer就會平分
  • modifier可以加在layout container上,這樣裡面的東西就都會是那個樣式
  • binoculars雙筒望遠鏡
  • fold & unfold (option+command+左右鍵)
  • order matters
  • Zstack:圖層加背景

L2~L3完成!😊

20250314