I see a Swift function written as follows:
func calculation(imageRef: CGImage) -> (red: [UInt], green: [UInt], blue: [UInt]) { ... ... }
This method return a tuple
func calculation(imageRef: CGImage) -> (red: [UInt], green: [UInt], blue: [UInt]) { return ([],[],[]) }