Skip to content

Commit

Permalink
Merge branch 'release/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
loregr committed Jan 14, 2019
2 parents a6e1692 + 52af4a3 commit 96b46dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LGButton.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'LGButton'
s.version = '1.1.1'
s.version = '1.1.2'
s.summary = 'A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code.'
s.homepage = 'https://cocoapods.org/pods/LGButton'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
Expand Down
1 change: 1 addition & 0 deletions LGButton/Classes/LGButton.swift
Expand Up @@ -631,6 +631,7 @@ public class LGButton: UIControl {
// MARK: - Xib file
// MARK:
fileprivate func xibSetup() {
guard rootView == nil else { return }
rootView = loadViewFromNib()
rootView.frame = bounds
rootView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
Expand Down
13 changes: 6 additions & 7 deletions LGButton/Resources/LGButton.xib
Expand Up @@ -4,7 +4,6 @@
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand Down Expand Up @@ -47,8 +46,8 @@
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="nM5-1x-KcY">
<rect key="frame" x="0.0" y="28.5" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="cXM-PQ-bte"/>
<constraint firstAttribute="width" constant="20" id="e53-Mt-tx6"/>
<constraint firstAttribute="height" priority="999" constant="20" id="cXM-PQ-bte"/>
<constraint firstAttribute="width" priority="999" constant="20" id="e53-Mt-tx6"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yPu-j1-amS">
Expand All @@ -72,8 +71,8 @@
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9eI-ND-Xxs">
<rect key="frame" x="203" y="28.5" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="NGP-D9-laU"/>
<constraint firstAttribute="width" constant="20" id="Y1b-dI-Wf2"/>
<constraint firstAttribute="height" priority="999" constant="20" id="NGP-D9-laU"/>
<constraint firstAttribute="width" priority="999" constant="20" id="Y1b-dI-Wf2"/>
</constraints>
</imageView>
</subviews>
Expand Down Expand Up @@ -107,7 +106,7 @@
<constraint firstItem="WKx-U5-Fez" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="mhQ-mz-r48"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="WKx-U5-Fez" secondAttribute="trailing" constant="32" id="pRy-28-jvf"/>
<constraint firstItem="Olz-81-yKk" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="s8C-be-AUi"/>
<constraint firstItem="HQ2-LV-9mO" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="sYg-6j-37c"/>
<constraint firstItem="HQ2-LV-9mO" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" priority="999" id="sYg-6j-37c"/>
<constraint firstItem="WKx-U5-Fez" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" priority="750" id="vVH-rZ-Bhm"/>
<constraint firstItem="HQ2-LV-9mO" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="xxj-9X-oxK"/>
<constraint firstItem="WKx-U5-Fez" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="leading" constant="32" id="zf0-aD-IWu"/>
Expand All @@ -117,7 +116,7 @@
<connections>
<outletCollection property="gestureRecognizers" destination="VEO-YD-W6I" appends="YES" id="7OI-gI-vZd"/>
</connections>
<point key="canvasLocation" x="-26.5" y="-218.5"/>
<point key="canvasLocation" x="-27.199999999999999" y="-218.59070464767618"/>
</view>
<tapGestureRecognizer id="VEO-YD-W6I">
<connections>
Expand Down

0 comments on commit 96b46dc

Please sign in to comment.