iOS Protocols in Swift Creating Flexible Objects Using Protocols Protocol Oriented Programming

Huseyn Guliyev
Huseyn Guliyev
2,531 Points

Why [Point] ()?

In 01:53 line 12, Pasan shows us a function that returns points surrounding the subject. There is one piece of code, though, that I don't understand. Why is there Point (circle brackets) and why do I get errors when I write just [Point]