0

我很困惑。我正在学习应用程序开发课程,当我在学校的计算机上打开文件时,我们正在阅读“自学 iPhone OS 应用程序开发”,它显示了 mainstoryboard,但它没有显示在我的笔记本电脑上?我确保我使用的是相同版本的 Xcode 和相同的文件。

在此处输入图像描述

4

1 回答 1

1

That's because you are looking at XIB files and not storyboard files.

XIB files usually contain single view controllers (and other objects), while storyboards (usually one storyboard per architecture) have multiple view controllers and segues to nicely get between them.

If you want to see changes to the UI within the program created by project you've created a screenshot of, you'll need to modify the files with the ".xib" extension. Both storyboards and XIB files are editable with Xcode's built in Interface Builder functionality.

于 2012-11-21T23:21:10.150 回答