Skip to content

Commit

Permalink
Add missing "public"
Browse files Browse the repository at this point in the history
  • Loading branch information
ken0nek committed Feb 17, 2015
1 parent 26d42b3 commit 6c75a75
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/MKButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class MKButton : UIButton
}

// MARK - location tracking methods
override func beginTrackingWithTouch(touch: UITouch, withEvent event: UIEvent) -> Bool {
override public func beginTrackingWithTouch(touch: UITouch, withEvent event: UIEvent) -> Bool {
if rippleLocation == .TapLocation {
mkLayer.didChangeTapLocation(touch.locationInView(self))
}
Expand Down
2 changes: 1 addition & 1 deletion Source/MKColor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension UIColor {
self.init(red:red, green:green, blue:blue, alpha:alpha)
}

struct MKColor {
public struct MKColor {
public static let Red = UIColor(hex: 0xF44336)
public static let Pink = UIColor(hex: 0xE91E63)
public static let Purple = UIColor(hex: 0x9C27B0)
Expand Down
2 changes: 1 addition & 1 deletion Source/MKImageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class MKImageView: UIImageView
mkLayer.animateAlphaForBackgroundLayer(backgroundAniTimingFunction, duration: CFTimeInterval(aniDuration))
}

override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
override public func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
super.touchesBegan(touches, withEvent: event)
if let firstTouch = touches.anyObject() as? UITouch {
let location = firstTouch.locationInView(self)
Expand Down
2 changes: 1 addition & 1 deletion Source/MKTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class MKTextField : UITextField {
return super.beginTrackingWithTouch(touch, withEvent: event)
}

override func layoutSubviews() {
override public func layoutSubviews() {
super.layoutSubviews()

if !floatingPlaceholderEnabled {
Expand Down

0 comments on commit 6c75a75

Please sign in to comment.