Skip to content

Commit 7a31815

Browse files
committed
Made initializers public
1 parent aaed047 commit 7a31815

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ChromaColorPicker/ChromaAddButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class ChromaAddButton: UIButton {
4343
public var plusIconLayer: CAShapeLayer?
4444

4545

46-
override init(frame: CGRect) {
46+
override public init(frame: CGRect) {
4747
super.init(frame: frame)
4848
self.createGraphics()
4949
}

ChromaColorPicker/ChromaColorPicker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class ChromaColorPicker: UIControl {
4747
}
4848

4949
//MARK: - Initialization
50-
override init(frame: CGRect) {
50+
override public init(frame: CGRect) {
5151
super.init(frame: frame)
5252
self.commonInit()
5353
}

ChromaColorPicker/ChromaHandle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class ChromaHandle: UIView {
4949
}
5050
}
5151

52-
override init(frame: CGRect) {
52+
override public init(frame: CGRect) {
5353
super.init(frame:frame)
5454
self.backgroundColor = UIColor.clearColor()
5555

ChromaColorPicker/ChromaShadeSlider.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import UIKit
2727
public class ChromaSliderTrackLayer: CALayer{
2828
public let gradient = CAGradientLayer()
2929

30-
override init() {
30+
override public init() {
3131
super.init()
3232
gradient.actions = ["position" : NSNull(), "bounds" : NSNull(), "path" : NSNull()]
3333
self.addSublayer(gradient)
@@ -71,7 +71,7 @@ public class ChromaShadeSlider: UIControl {
7171
}
7272
}
7373

74-
override init(frame: CGRect) {
74+
override public init(frame: CGRect) {
7575
super.init(frame: frame)
7676
self.commonInit()
7777
}

0 commit comments

Comments
 (0)