Skip to content

Commit

Permalink
Made files public so they work as nodules
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Jan 14, 2017
1 parent 15d729e commit 9c68f69
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 31 deletions.
2 changes: 1 addition & 1 deletion AFViewHelper.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AFViewHelper'
s.version = '4.2.3'
s.version = '4.2.4'
s.license = 'MIT'
s.summary = 'Autolayout and Animation UIVIew Extension for Swift 3.0.'
s.homepage = 'https://github.com/melvitax/ViewHelper'
Expand Down
16 changes: 8 additions & 8 deletions Sources/InspectableButton.swift
@@ -1,6 +1,6 @@
//
// InspectableButton.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 6/28/16.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -18,7 +18,7 @@ import QuartzCore
/**
The layer border color
*/
@IBInspectable override var borderColor: UIColor {
@IBInspectable override public var borderColor: UIColor {
get {
return layer.borderColor == nil ? UIColor.clear : UIColor(cgColor: layer.borderColor!)
}
Expand All @@ -30,7 +30,7 @@ import QuartzCore
/**
The layer border width
*/
@IBInspectable override var borderWidth: CGFloat {
@IBInspectable override public var borderWidth: CGFloat {
get {
return layer.borderWidth
}
Expand All @@ -45,7 +45,7 @@ import QuartzCore
/**
The layer corner radius
*/
@IBInspectable override var cornerRadius: CGFloat {
@IBInspectable override public var cornerRadius: CGFloat {
get {
return layer.cornerRadius
}
Expand All @@ -62,7 +62,7 @@ import QuartzCore
/**
The shadow color of the layer
*/
@IBInspectable override var shadowColor: UIColor {
@IBInspectable override public var shadowColor: UIColor {
get {
return layer.shadowColor == nil ? UIColor.clear : UIColor(cgColor: layer.shadowColor!)
}
Expand All @@ -75,7 +75,7 @@ import QuartzCore
/**
The shadow offset of the layer
*/
@IBInspectable override var shadowOffset:CGSize {
@IBInspectable override public var shadowOffset:CGSize {
get {
return layer.shadowOffset
}
Expand All @@ -89,7 +89,7 @@ import QuartzCore
- Returns: Float
*/
@IBInspectable override var shadowOpacity:Float {
@IBInspectable override public var shadowOpacity:Float {
get {
return layer.shadowOpacity
}
Expand All @@ -103,7 +103,7 @@ import QuartzCore
- Returns: CGFloat
*/
@IBInspectable override var shadowRadius:CGFloat {
@IBInspectable override public var shadowRadius:CGFloat {
get {
return layer.shadowRadius
}
Expand Down
16 changes: 8 additions & 8 deletions Sources/InspectableView.swift
@@ -1,6 +1,6 @@
//
// InspectableView.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 7/24/14.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -18,7 +18,7 @@ import QuartzCore
/**
The layer border color
*/
@IBInspectable override var borderColor: UIColor {
@IBInspectable override public var borderColor: UIColor {
get {
return layer.borderColor == nil ? UIColor.clear : UIColor(cgColor: layer.borderColor!)
}
Expand All @@ -30,7 +30,7 @@ import QuartzCore
/**
The layer border width
*/
@IBInspectable override var borderWidth: CGFloat {
@IBInspectable override public var borderWidth: CGFloat {
get {
return layer.borderWidth
}
Expand All @@ -45,7 +45,7 @@ import QuartzCore
/**
The layer corner radius
*/
@IBInspectable override var cornerRadius: CGFloat {
@IBInspectable override public var cornerRadius: CGFloat {
get {
return layer.cornerRadius
}
Expand All @@ -62,7 +62,7 @@ import QuartzCore
/**
The shadow color of the layer
*/
@IBInspectable override var shadowColor: UIColor {
@IBInspectable override public var shadowColor: UIColor {
get {
return layer.shadowColor == nil ? UIColor.clear : UIColor(cgColor: layer.shadowColor!)
}
Expand All @@ -75,7 +75,7 @@ import QuartzCore
/**
The shadow offset of the layer
*/
@IBInspectable override var shadowOffset:CGSize {
@IBInspectable override public var shadowOffset:CGSize {
get {
return layer.shadowOffset
}
Expand All @@ -89,7 +89,7 @@ import QuartzCore
- Returns: Float
*/
@IBInspectable override var shadowOpacity:Float {
@IBInspectable override public var shadowOpacity:Float {
get {
return layer.shadowOpacity
}
Expand All @@ -103,7 +103,7 @@ import QuartzCore
- Returns: CGFloat
*/
@IBInspectable override var shadowRadius:CGFloat {
@IBInspectable override public var shadowRadius:CGFloat {
get {
return layer.shadowRadius
}
Expand Down
8 changes: 4 additions & 4 deletions Sources/ViewAnimation.swift
@@ -1,6 +1,6 @@
//
// ViewAnimation.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 11/23/15.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -11,7 +11,7 @@ import UIKit
/**
A preset animation behavior.
*/
enum AnimationType {
public enum AnimationType {
case slideLeft, slideRight, slideDown, slideUp, squeezeLeft, squeezeRight, squeezeDown, squeezeUp, fadeIn, fadeOut, fadeOutIn, fadeInLeft, fadeInRight, fadeInDown, fadeInUp, zoomIn, zoomOut, fall, shake, pop, flipX, flipY, morph, squeeze, flash, wobble, swing
static let allValues = [shake, pop, morph, squeeze, wobble, swing, flipX, flipY, fall, squeezeLeft, squeezeRight, squeezeDown, squeezeUp, slideLeft, slideRight, slideDown, slideUp, fadeIn, fadeOut, fadeOutIn, fadeInLeft, fadeInRight, fadeInDown, fadeInUp, zoomIn, zoomOut, flash]
var description: String {
Expand All @@ -24,7 +24,7 @@ enum AnimationType {
/**
Easing curve to be used in animation.
*/
enum AnimationEasingCurve {
public enum AnimationEasingCurve {
case easeIn, easeOut, easeInOut, linear, easeInSine, easeOutSine, easeInOutSine, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeInQuart, easeOutQuart, easeInOutQuart, easeInQuint, easeOutQuint, easeInOutQuint, easeInExpo, easeOutExpo, easeInOutExpo, easeInCirc, easeOutCirc, easeInOutCirc, easeInBack, easeOutBack, easeInOutBack, spring
static let allValues = [easeIn, easeOut, easeInOut, linear, easeInSine, easeOutSine, easeInOutSine, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeInQuart, easeOutQuart, easeInOutQuart, easeInQuint, easeOutQuint, easeInOutQuint, easeInExpo, easeOutExpo, easeInOutExpo, easeInCirc, easeOutCirc, easeInOutCirc, easeInBack, easeOutBack, easeInOutBack, spring]
var timingFunction:CAMediaTimingFunction {
Expand Down Expand Up @@ -75,7 +75,7 @@ enum AnimationEasingCurve {
}
}

extension UIView {
public extension UIView {

typealias AnimationCompletionHandler = () -> Void

Expand Down
4 changes: 2 additions & 2 deletions Sources/ViewAutoLayout.swift
@@ -1,6 +1,6 @@
//
// ViewAutoLayout.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -9,7 +9,7 @@
import Foundation
import UIKit

extension UIView {
public extension UIView {

// MARK: Init

Expand Down
4 changes: 2 additions & 2 deletions Sources/ViewControllerAutoLayout.swift
@@ -1,14 +1,14 @@
//
// ViewControllerAutoLayout.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 11/5/15.
// https://github.com/melvitax/ViewHelper
//

import Foundation
import UIKit

extension UIViewController {
public extension UIViewController {


/**
Expand Down
8 changes: 2 additions & 6 deletions Sources/ViewEffects.swift
@@ -1,6 +1,6 @@
//
// ViewEffects.swift
// ViewHelper: Version 4.2.3
// ViewHelper: Version 4.2.4
// Created by Melvin Rivera on 7/2/14.
// https://github.com/melvitax/ViewHelper
//
Expand All @@ -10,11 +10,7 @@ import QuartzCore



@IBDesignable extension UIView {

open override func prepareForInterfaceBuilder() {
self.setNeedsDisplay()
}
@IBDesignable public extension UIView {

// MARK: Border

Expand Down

0 comments on commit 9c68f69

Please sign in to comment.