Swift Terminology and instructions

Source: Internet
Author: User

Alias alias Swift uses the Typealias keyword to define the type alias, which changes the name of the existing type.

An array of collection types that are used to store values of the same type in an orderly manner.

Assertion asserts that Swift uses assertions for code debugging.

Associated value Association values are often used to correspond to member values and are used in enumerations to store additional custom information.

Closure closures can capture and store references to any constants and variables that define the context of the location.

Collection Collection Swift provides two types of collections: Arrays (array) and dictionaries (dictionary).

The dictionary dictionary is used to store multiple containers of the same type, where the elements are unordered.

The enumeration enumeration enumeration defines a set of related values for a common type that allows you to use these values in a type-safe manner in your code.

Method methods

operator operator

Property Properties

Protocol protocol

Raw Value RAW values

Optional value optional

Override Override

Optional binding optional bindings

Keyword keywords

Literal value literal

Implicitly unwapped implicit de-packaging

Generic generics

Class

Stored Property Store Properties

Structure Structural body

Superclass Super Class

Unwrapped to pack

Swift Terminology and instructions

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.