Skip to content

Commit

Permalink
Made initializers public
Browse files Browse the repository at this point in the history
  • Loading branch information
joncardasis committed Aug 24, 2016
1 parent aaed047 commit 7a31815
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion ChromaColorPicker/ChromaAddButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class ChromaAddButton: UIButton {
public var plusIconLayer: CAShapeLayer?


override init(frame: CGRect) {
override public init(frame: CGRect) {
super.init(frame: frame)
self.createGraphics()
}
Expand Down
2 changes: 1 addition & 1 deletion ChromaColorPicker/ChromaColorPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class ChromaColorPicker: UIControl {
}

//MARK: - Initialization
override init(frame: CGRect) {
override public init(frame: CGRect) {
super.init(frame: frame)
self.commonInit()
}
Expand Down
2 changes: 1 addition & 1 deletion ChromaColorPicker/ChromaHandle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class ChromaHandle: UIView {
}
}

override init(frame: CGRect) {
override public init(frame: CGRect) {
super.init(frame:frame)
self.backgroundColor = UIColor.clearColor()

Expand Down
4 changes: 2 additions & 2 deletions ChromaColorPicker/ChromaShadeSlider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import UIKit
public class ChromaSliderTrackLayer: CALayer{
public let gradient = CAGradientLayer()

override init() {
override public init() {
super.init()
gradient.actions = ["position" : NSNull(), "bounds" : NSNull(), "path" : NSNull()]
self.addSublayer(gradient)
Expand Down Expand Up @@ -71,7 +71,7 @@ public class ChromaShadeSlider: UIControl {
}
}

override init(frame: CGRect) {
override public init(frame: CGRect) {
super.init(frame: frame)
self.commonInit()
}
Expand Down

0 comments on commit 7a31815

Please sign in to comment.