IT English Collection(14) of Storyboard

1 前言

    今天我们来学习一篇关于故事板(Storyboard)的文章。

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

2 详述

2.1 原文

    A storyboard is a visualrepresentation of the user interface of an iOS application, showing screens of content and the connections between those screens. A storyboard iscomposed of a sequence of scenes, each of which represents a view controller and its views;scenes are connected bysegue objects, which represent a transition between two view controllers.

    Xcode provides a visual editor for storyboards, where you can lay out and design the user interface of your application by adding views such as buttons, table views, and text views onto scenes.In addition, a storyboard enables you to connect a view to its controller object, and to manage the transfer of data between view controllers. Using storyboards is therecommended way to design the user interface of your application because they enable you tovisualize the appearance and flow of your user interface on onecanvas.
A Scene Corresponds to a Single View Controller and Its Views
    On iPhone, each scene corresponds to a full screen’s worth of content; on iPad, multiple scenes can appear on screen at once—for example, using popover view controllers. Each scene has adock, which displays icons representing the top-level objects of the scene. The dock is usedprimarily to make action and outlet connections between the view controller and its views.
A Segue Manages the Transition Between Two Scenes
    You can set the type of transition (for example, modal or push) on a segue. Additionally, you can subclass a segue object to implement a custom transition.
    You can pass data between scenes with the method prepareForSegue:sender:, which is invoked on the view controller when a segue istriggered. This method allows you tocustomize the setup of the next view controller before it appears on the screen. Transitions usually occur as the result of some event, such as a button being tapped, but you canprogrammaticallyforce a transition by calling performSegueWithIdentifier:sender: on the view controller.

2.2 生词

representation[,reprɪzen'teɪʃ(ə)n] n. 代表;表现

compose[kəm'pəʊz]vt. 构成;写作

scene[siːn]n. 场面;情景

segue['segweɪ]n. 继续(用作指示语)

transition[træn'zɪʃ(ə)n; trɑːn-; -'sɪʃ-]n. 过渡;转变

recommend[rekə'mend]vt. 推荐,介绍

in addition 另外,此外

visualize['vizjuəlaiz]   vt. 形象,形象化;想像,设想

canvas['kænvəs]n. 帆布;画布

Correspond[kɒrɪ'spɒnd]vi. 符合,一致

dock[dɒk]n. 码头;船坞

primarily['praɪm(ə)rɪlɪ; praɪ'mer-]adv. 首先;主要地,根本上

Additionally[ə'dɪʃənəlɪ]adv.此外;又,加之

trigger['trɪgə]vt. 引发,引起;触发

customize['kʌstəmaiz] 自定义

setup['setʌp]n. 设置

programmatically以编程方式

force[fɔːs]vt. 促使,推动

3 结语

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值