MainWindow.xib的nib文件是什么? [英] What's the MainWindow.xib nib file for?

查看:200
本文介绍了MainWindow.xib的nib文件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iOS开发的新手,我想了解iOS应用程序开发的整个周期,我觉得有一个缺少的部分,我只是不能得到它。

I am new to iOS developement, and i am trying to understand the whole cycle of iOS application developement, and i feel there's a missing part i just don't get it..

如果由Xcode自动生成的MainWindow.xib有一个视图,在其中加载另一个xib / nib视图,那么为什么我们使用它?

if the MainWindow.xib that is generated automatically by Xcode has a view that loads another xib/nib view inside it, then why we use it ?

推荐答案

您的应用程序需要一个窗口,系统才能在设备屏幕上向您显示。在窗口中是各种视图,代表用户可以与之交互的应用程序的不同区域。视图可以是整个用户界面或单独的UI控件。

Your application needs a window so the system can display it to you on the device screen. In the window are various views which represent different areas of your application that users can interact with. Views can either be entire user interfaces, or individual UI controls.

主窗口与应用程序委托进行交互,以处理应用程序通过视图接收的事件。

The main window interacts with your application delegate to handle events that your application receives through the views.

这篇关于MainWindow.xib的nib文件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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