??
original articles, welcome reprint. Reprint Please specify: Dongsheng's blog
when we learn the language, we learn the data type of the language,SwiftWhat are the data types in? Integer, float, Boolean, character, string these types are certain, where collections, enumerations, structs, classes are alsoSwiftthe data type in the. Tuples areSwiftunique in the.
Other types We may have known or heard about. Tuples are there in Swift , what is it?
It is a data structure, which is widely used in mathematics. In computer science, tuples are a basic concept in a relational database, one record in a tuple table, and each column is a field. So in the two-dimensional table, tuples are also called records.
now use swift syntax means student tuples are:
The first form of a notation
("1001", " Zhang San", (+)
The second type of notation
(ID: "1001", Name: " Zhang San", 中文版_sCore:-CHinese_sCore: +)
Welcome to follow Dongsheng Sina Weibo @tony_ Dongsheng.
Learn about the latest technical articles, books, tutorials and information on the public platform of the smart Jie classroom
More Products IOS,Cocos, mobile design courses please pay attention to the official website of Chi Jie Classroom:http://www.zhijieketang.com
Luxgen Classroom Forum Website:http://51work6.com/forum.php
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Swift 2.0 Study Notes (day 11)-Data type What's the matter?