Массив фиксированного размера

Изменения в новых версиях / Swift 6.2

// *** in version 6.2: ***
//InlineArray keeps its elements inline,
//without a separate heap allocation
let point: InlineArray<2, Int> = [3, 4]

//"of" is the short form of the same type
let rgb: [3 of Int] = [255, 128, 0]

print("point[1] is \(point[1])")
//point[1] is 4

print("rgb count is \(rgb.count)")
//rgb count is 3