Skip to content

Commit

Permalink
Demo: Incorrect argument label in call (have 'colorLiteralRed:green:b…
Browse files Browse the repository at this point in the history
…lue:alpha:', expected '_colorLiteralRed:green:blue:alpha:')

refs #2
  • Loading branch information
ykws committed Jan 19, 2022
1 parent 8c195fd commit 82a33fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChameleonDemo-Swift/FirstViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class FirstViewController: UITableViewController {
let green = Float(arc4random_uniform(256))/255.0
let blue = Float(arc4random_uniform(256))/255.0

return UIColor(colorLiteralRed: red, green: green, blue: blue, alpha: 1.0)
return UIColor(_colorLiteralRed: red, green: green, blue: blue, alpha: 1.0)
}
}

Expand Down

0 comments on commit 82a33fe

Please sign in to comment.