ios connection

本文详细解析了iOS应用启动过程中的六种连接方式,包括如何设置指针指向标签,按钮的目标设置,以及项目模板自动生成的连接等。此外还介绍了拖拽图片文件到图标瓷砖时发生的两种变化:图片文件被添加到项目中,并在Quiz-Info.plist文件中创建条目。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

There are six connections between your QuizAppDelegate and other objects.

You've set ist pointers answerField and questionField to point at the lables. That's two.

The QuizAppDelegate is the target for both buttons, That's four.

The project's template made two additional connections. 

First, the UIApplication object has a pointer called delegate which points at the QuizAppDelegate.

Second, the window pointer of your QuizAppDelegate was set to the instance of UIWindow. That makes six.

 

We can check these connections in the connections inspector. (outlet+action)

 

When you dragged the image files onto the icon tiles, two things happened. First, the image files were added to your project. ( You can verify this by returning to the project navigator, where you'll find Icon.png and Icon@2x.png in the list of files.) Second, two entries were made in the Quiz-Info.plist file. 

Another item you can set for an application in the Summary panel is the launch image, which appears while an application is loading.

转载于:https://www.cnblogs.com/grep/archive/2012/06/13/2547725.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值