0
var completion: (()-> Void)?

class func showView(inside view: UIView,
                        with trophy: Trophy,
                        completion:(()-> Void)? = nil) -> TrophyDetailsView {
}

I keep getting "Returning Whitespace Violation" in the above lines, How do i fix it?

Monty
  • 341
  • 1
  • 4
  • 13

0 Answers0