Skip to content

Commit 0e64faa

Browse files
committed
Minor refactoring.
1 parent ae76bdf commit 0e64faa

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Xcode/PaintCodeTests/Controller/TreeViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TreeViewController: UIViewController {
1818
// MARK: - Actions
1919

2020
@IBAction func colorButtonPressed(_ sender: UIButton) {
21-
2221
// Get color references.
2322
let red = CIColor(color: sender.backgroundColor!).red
2423
let green = CIColor(color: sender.backgroundColor!).green

Xcode/PaintCodeTests/View/TreeView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import UIKit
1414
/*
1515
*
1616
* Notice - supported range for colors and alpha: 0 to 1.
17+
* Color 0.808, 0.808, 0.808 = gray (starting color in this example).
1718
*
1819
*/
1920

0 commit comments

Comments
 (0)