目录:挑战:翻译Human Interface Guildeline for iOS
Interface Essentials
Most iOS apps are built using components from UIKit, a programming framework that defines common interface elements. This framework lets apps achieve a consistent appearance across the system, while at the same time offering a high level of customization. UIKit elements are flexible and familiar. They’re adaptable, enabling you to design a single app that looks great on any iOS device, and they automatically update when the system introduces appearance changes. The interface elements provided by UIKit fit into three main categories:
用户界面要素
大多数iOS应用程序都是使用UIKit的组件构建的,UIKit是一个定义通用界面元素的编程框架。这个框架允许应用程序在整个系统中实现外观的一致性,同时可以满足高水平的定制需求。UIKit元素是灵活并且是人们熟知的。它们具有很强的适应性,可以让你设计一个在任何iOS设备上看起来都很棒的应用程序,当系统引入外观变化时,它们会自动更新。UIKit提供的接口元素主要分为三类:
Bars. Tell people where they are in your app, provide navigation, and may contain buttons or other elements for initiating actions and communicating information.
Bars.告诉用户他们在你的app中的什么位置、提供导航,也可能包含按钮或其他元素来启动操作和交流信息。
Views. Contain the primary content people see in your app, such as text, graphics, animations, and interactive elements. Views can enable behaviors such as scrolling, insertion, deletion, and arrangement.
Views.包含用户在应用程序中看到的主要内容,如文本、图形、动画和交互元素。视图可以支持滚动、插入、删除和排列等操作。
Controls. Initiate actions and convey information. Buttons, switches, text fields, and progress indicators are examples of controls.
Controls. 启动操作并传达信息。按钮,开关,文本字段和进度指示器是Controls(控件)的示例。
In addition to defining the interface of iOS, UIKit defines functionality your app can adopt. Through this framework, for example, your app can respond to gestures on the touchscreen and enable features such as drawing, accessibility, and printing.
除了定义iOS的界面,UIKit还定义了你的应用可以采用的功能。例如,通过这个框架,您的应用程序可以响应触摸屏上的手势,并启用绘图、辅助功能和打印等功能。
iOS tightly integrates with other programming frameworks and technologies too, such as Apple Pay, HealthKit, and ResearchKit, enabling you to design amazingly powerful apps.
iOS也与其他编程框架和技术紧密集成,比如Apple Pay、HealthKit和ResearchKit,让你能够设计出功能惊人的应用程序。
网友评论