Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
hackjie committed May 21, 2018
1 parent 012fd9d commit 25fb1d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GPassword.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "GPassword"
s.version = "1.0.3"
s.version = "1.0.4"
s.summary = "Simple gesture password in swift."
s.description = <<-DESC
This framework help you build your gesture password easily!
Expand Down
6 changes: 3 additions & 3 deletions Source/Extension/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import UIKit

// MARK: - UIColor
extension UIColor {
convenience init(gpRGB: UInt, alpha: CGFloat = 1.0) {
convenience public init(gpRGB: UInt, alpha: CGFloat = 1.0) {
self.init(
red: CGFloat((gpRGB & 0xFF0000) >> 16) / 255.0,
green: CGFloat((gpRGB & 0x00FF00) >> 8) / 255.0,
Expand All @@ -40,7 +40,7 @@ extension UIColor {

// MARK: - CALayer
extension CALayer {
func shake() {
public func gp_shake() {
let keyFrameAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
let s = 16
keyFrameAnimation.values = [0, s, -s, 0]
Expand All @@ -52,7 +52,7 @@ extension CALayer {

// MARK: - String
extension String {
static func gp_localized(_ key: String) -> String {
static public func gp_localized(_ key: String) -> String {
return NSLocalizedString(key, comment: "")
}
}

0 comments on commit 25fb1d3

Please sign in to comment.