Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kennic committed Jun 4, 2020
1 parent 2746d17 commit 470ff6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FrameLayoutKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FrameLayoutKit'
s.version = '4.4.1'
s.version = '4.4.2'
s.summary = 'FrameLayoutKit is a super fast and easy to use layout kit'
s.description = <<-DESC
An auto layout kit helps you to layout your UI easier and more effective
Expand Down
2 changes: 2 additions & 0 deletions FrameLayoutKit/Classes/StackFrameLayout+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ infix operator +>

public extension DoubleFrameLayout {

@discardableResult
static func <+(lhs: DoubleFrameLayout, rhs: UIView? = nil) -> FrameLayout {
if let frameLayout = rhs as? FrameLayout, frameLayout.superview == nil {
lhs.leftFrameLayout = frameLayout
Expand All @@ -65,6 +66,7 @@ public extension DoubleFrameLayout {
return lhs.leftFrameLayout
}

@discardableResult
static func +>(lhs: DoubleFrameLayout, rhs: UIView? = nil) -> FrameLayout {
if let frameLayout = rhs as? FrameLayout, frameLayout.superview == nil {
lhs.rightFrameLayout = frameLayout
Expand Down

0 comments on commit 470ff6d

Please sign in to comment.