There is a swift 3 api error. `return roundCorners(cornerRadius)?.apply(border: border, color: color)` should be `return roundCorners(cornerRadius)?.apply(border, color: color)`