如何将storyboard连接到viewcontroller [英] How to connect storyboard to viewcontroller

查看:586
本文介绍了如何将storyboard连接到viewcontroller的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在新的xcode 5中,如何在界面构建器中使用下拉菜单将Storyboard视图控制器连接到您的类,现在如何完成?

In the new xcode 5 how do in interface builder you use to have a drop down menu there to connect your storyboard viewcontrollers to your classes how is this done now?

推荐答案

除非我误解你的要求,否则它仍然存在。以下是将自定义视图控制器类分配给视图控制器的步骤:

Unless I'm misunderstanding what you're asking, it's still there. Here are the steps to assign a custom view controller class to your view controller:


  1. 在左侧场景列表中选择视图控制器一边。


  1. 选择右侧的识别检查器。

  2. 从班级列表中选择自定义视图控制器类。

这篇关于如何将storyboard连接到viewcontroller的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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