Fast function declarations do not have > - someone was looking for HTML rendering on the page you read. It was assumed that this would be -> (an arrow made up of hypen and a larger operator), which is used to indicate the return type of the function.
The text was supposed to read
func example(titles: [String]) -> [UIButton] { }
This means that the example function has one parameter named titles type [String] (an array of String) and returns [UIButton] (an array of UIButton).
source share