如何在Xcode中添加占位符窗口 [英] How to add the Placeholder Window in Xcode

查看:189
本文介绍了如何在Xcode中添加占位符窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Xcode和IOS编程在youtube上阅读教程。如何显示PlaceHolder窗口显示文件所有者。本教程将展示如何添加几个代理和数据源

Going though a tutorial on youtube with Xcode and IOS programming. How do you show the PlaceHolder Window showing the file owner. The tutorial is showing how to add a couple of delegates and data source

有关视觉效果,请参阅 http://www.youtube.com/watch?v=IqDZHgI_s24 at 2:55

For a visual see http://www.youtube.com/watch?v=IqDZHgI_s24 at 2:55

推荐答案

您可能只需要在XIB编辑器中单击隐藏/显示文档大纲按钮:

You may simply need to click the Hide/Show Document Outline button in the XIB editor:

请注意,文件所有者和第一响应者占位符是可访问的(如即使文档大纲被隐藏,也可以使用大型多维数据集图标。

Note that the File's Owner and First Responder placeholders are accessible (as the large cube icons) even when the document outline is hidden.

另一种可能性是您使用故事板创建了项目。故事板没有文件所有者占位符。如果发生这种情况,因为您正在工作时抛出一个初学者教程,您应该重新开始一个新项目,并确保取消选中新项目向导中的使用故事板复选框。

Another possibility is that you have created the project using a storyboard. A storyboard doesn't have the File's Owner placeholder. If that happened, since you are working throw a beginner tutorial, you should just start over with a new project and make sure you uncheck the "Use storyboards" checkbox in the new project wizard.

这篇关于如何在Xcode中添加占位符窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆