#10 嘗試利用多個 storyboard 和 storyboard reference 製作 App 畫面

張又壬
Jul 21, 2021

--

目的:

多人開發時,版本管理比較容易,且畫面比較好管理

這次練習使用上次做的天竺鼠車車的專案

1.選取要放到另一個 storyboard 的 controller

2.選擇 Editor/Rector to Storyboard… 然後設定新 storyboard 的名字

3. 重新設定 Tab Bar Item 到 Navigation Controller

4.設定完 Tab Bar Item 後記得看一下 Navigation Controller 的 Is Initial View Controller 有沒有勾

如果沒勾或著不小心勾掉了 XCode 也會有提示

最後整理完成的畫面 乾淨清爽

Main Storyboard
StoryIntro
CharacterIntro
Videos

比較美中不足的地方是,在 Main Storyboard 的 Tab 的 icon 和文字,都變成預設的,無法一眼就分辨出來,還好可以從 Tab Bar Controller 的 Connections Inspector 裡還可以看出來

參考資料

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

張又壬
張又壬

Written by 張又壬

目前正在努力學習 swift

No responses yet

Write a response