IT English Collection(15)of Outlet

1 前言

    本文是介绍有关Outlet的文章,详情如下。

    转载请注明出处:http://blog.csdn.net/developer_zhang

2 详述

2.1 原文

    An outlet is a property that isannotated with the symbol IBOutlet and whose value you can set graphically in a nib file or a storyboard. You declare an outlet in the interface of a class, and you make a connection between the outlet and another object in the nib file or storyboard. When the file is loaded, the connection is established.

You define an outlet as a property with the type qualifier of IBOutlet.

@property (nonatomic, weak) IBOutlet UITextField *nameField;
    The symbol IBOutlet is used only by Xcode, to determine when a property is an outlet; it has noactual value.
   Through an outlet, an object in your code can obtain a reference to an object defined in a nib file or storyboard and then loaded from that file. The objectcontaining an outlet is often a custom controller object such as a view controller. You frequently define outlets so that you can send messages to view objects of the UIKit framework (in iOS) and the AppKit framework (in OS X).

2.2 生词

annotated['ænə,teɪtɪd] adj. 有注释的;带注解的

symbol['sɪmb(ə)l] n. 象征;符号;标志

graphically['græfikəli] adv. 生动地;活灵活现地

established[ɪ'stæblɪʃt] adj. 确定的;已制定的

qualifier['kwɒlɪfaɪə(r)] n. 限定词,[]限定语

determine[dɪ'tɜːmɪn] vt. 决定;判决;

actual['æktʃʊəl; -tjʊəl] adj. 真实的,实际的

obtain[əb'teɪn] vi. 获得;流行

contain[kən'teɪn] vt. 包含;控制

3 结语

    以上是所有内容,希望对大家有所帮助。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值