Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
vnamnh70 committed Sep 12, 2021
1 parent 2fc7534 commit aed07c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- FrameLayoutKit (5.3.2)
- FrameLayoutKit (5.4)
- NKButton (4.4):
- FrameLayoutKit
- NVActivityIndicatorView/AppExtension
Expand All @@ -19,10 +19,10 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
FrameLayoutKit: 5f5af5c693e06c40aad2382600b7bc723020fdd0
FrameLayoutKit: b68a8389317b45536f0ad41d67358de1e163c86d
NKButton: 9afb9b8fba1f28061022b90a095395f010a05979
NVActivityIndicatorView: d24b7ebcf80af5dcd994adb650e2b6c93379270f

PODFILE CHECKSUM: 27dda54c13a35de23d659f7dafe6a47d20a069a3

COCOAPODS: 1.10.2
COCOAPODS: 1.11.0
4 changes: 2 additions & 2 deletions NKButton.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'NKButton'
s.version = '4.4'
s.version = '4.5'
s.summary = 'A fully customizable UIButton'
s.description = <<-DESC
A fully customizable button that fills all lacked functions from UIButton like:
Expand All @@ -24,7 +24,7 @@ A fully customizable button that fills all lacked functions from UIButton like:
s.social_media_url = 'https://twitter.com/namkennic'
s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.swift_version = '5.0'
s.swift_version = '5.2'

s.source_files = 'NKButton/Classes/*.swift'
s.frameworks = 'UIKit'
Expand Down
8 changes: 4 additions & 4 deletions NKButton/Classes/NKButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,18 @@ open class NKButton: UIButton {

/** Text Horizontal Alignment */
open var textHorizontalAlignment: NKContentHorizontalAlignment {
get { labelFrame.horizontalAlignment }
get { labelFrame.alignment.horizontal }
set {
labelFrame.horizontalAlignment = newValue
labelFrame.alignment.horizontal = newValue
setNeedsLayout()
}
}

/** Text Vertical Alignment */
open var textVerticalAlignment: NKContentVerticalAlignment {
get { labelFrame.verticalAlignment }
get { labelFrame.alignment.vertical }
set {
labelFrame.verticalAlignment = newValue
labelFrame.alignment.vertical = newValue
setNeedsLayout()
}
}
Expand Down

0 comments on commit aed07c2

Please sign in to comment.