The Swift standard library defines a base layer of functionality for writing Swift programs, including:
- Fundamental data types such as
Int
,Double
, andString
. - Common data structures such as
Array
,Dictionary
andSet
- Global functions such as
print
andabs(_:)
- Protocols, such as
Collection
andEquatable
, that describe common abstractions.
....
....