Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
助手模型在swift中如何工作?_Swift_Xcode - Fatal编程技术网

助手模型在swift中如何工作?

助手模型在swift中如何工作?,swift,xcode,Swift,Xcode,我构建了一个名为StaticCellTableViewController的新类。现在我想将Main.storyboard中的一些元素连接到它。但我不能把这两扇窗户并排开 我进入StaticCellTableViewController并单击助手。它给了我两个StaticCellTableViewController窗口 我尝试在Main.storyboard窗口中单击助手。它给了我另一个这样的课程 但是我希望Main.storyboard窗口和StaticCellTableViewCont

我构建了一个名为
StaticCellTableViewController
的新类。现在我想将
Main.storyboard
中的一些元素连接到它。但我不能把这两扇窗户并排开

我进入
StaticCellTableViewController
并单击助手。它给了我两个
StaticCellTableViewController
窗口

我尝试在
Main.storyboard
窗口中单击助手。它给了我另一个这样的课程


但是我希望
Main.storyboard
窗口和
StaticCellTableViewController
类并排出现,这样我就可以将元素拖动到其中。我该怎么做呢?

您不再需要助手了。不要用它。编辑器窗格现在可以包含任何内容


所以打开两个普通编辑器窗格。在一个窗格中单击。在导航器中单击视图控制器。在另一个窗格中单击。在导航器中单击情节提要。完成了

单击左上角,显示自动。这将显示要打开的文件列表。然后你可以选择正确的一个我找不到我想要的类。它只有一个类,即
UIResponder.h