0 votes
7 views
What type of objects are basic data types in swift?
in Technology by (186k points)

1 Answer

0 votes

Swift uses a standard set of basic data types for different purposes such as Boolean values, numbers, and strings.

  • Int: int is used to store the integer value.
  • Double and Float: Double and Float in swift are considered when while working with the decimal numbers.
  • Bool: The bool type is used to store the Boolean value. In swift, it uses true and false conditions.
  • String: In String literals, the user defines the text that is enclosed by double quotes in Swift.
  • Arrays: Arrays are the collection of list items.
  • Dictionaries: A dictionary is an unordered collection of items of a particular type that is connected with a unique key.
by (186k points)

Related questions

0 votes
1 answer 9 views
9 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 10 views
10 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 15 views
0 votes
1 answer 14 views
0 votes
1 answer 12 views
12 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 19 views
19 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 9 views
0 votes
1 answer 11 views
11 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
0 votes
1 answer 14 views
14 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 14 views
14 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 18 views
0 votes
1 answer 15 views
0 votes
1 answer 8 views
8 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 23 views
0 votes
1 answer 14 views
0 votes
1 answer 11 views
11 views asked Nov 30, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 57 views
0 votes
1 answer 10 views
10 views asked Dec 6, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 9 views
0 votes
1 answer 19 views
19 views asked Nov 1, 2020 in Technology by JackTerrance (186k points)
...