Structures (records)
Definition and initialization
Constructors
Methods
Fields and properties
Constants
Subscripts (indexer methods)
Type members
Inheritance
Structure inside the structure
Non-copyable structures
struct
ColorPoint
{
//In Swift there are no fields
var
x, y:
Int
//Property
var
Color: Brush
}