Skip to content

Commit

Permalink
Refactor CircleView
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Szklarek committed Jul 21, 2017
1 parent 9e883c6 commit c2fac3c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ELColorGame/UI/Components/UIView/CircleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import Spring

class CircleView: SpringView {

private let topColor: UIColor
private let bottomColor: UIColor

init(topColor: UIColor, bottomColor: UIColor) {
self.topColor = topColor
self.bottomColor = bottomColor
Expand Down Expand Up @@ -44,4 +41,9 @@ class CircleView: SpringView {
return layer
}

// MARK: Private

private let topColor: UIColor
private let bottomColor: UIColor

}

0 comments on commit c2fac3c

Please sign in to comment.