Skip to content

Commit

Permalink
V 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ankityddv committed Oct 6, 2020
1 parent a6b95c8 commit a12a845
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
21 changes: 19 additions & 2 deletions Example/TDCRoundButton/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,27 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KS5-lP-pdw" customClass="RoundButton" customModule="TDCRoundButton">
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KS5-lP-pdw" customClass="RoundBttn" customModule="TDCRoundButton">
<rect key="frame" x="70" y="218" width="234" height="39"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<state key="normal" title="Button">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="startColor">
<color key="value" systemColor="linkColor"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="endColor">
<color key="value" systemColor="systemRedColor"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="verticalGradient" value="NO"/>
</userDefinedRuntimeAttributes>
</button>
</subviews>
Expand All @@ -47,4 +56,12 @@
<size key="intrinsicContentSize" width="46" height="30"/>
</designable>
</designables>
<resources>
<systemColor name="linkColor">
<color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemRedColor">
<color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
</resources>
</document>
2 changes: 1 addition & 1 deletion TDCRoundButton.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'TDCRoundButton'
s.version = '0.1.3'
s.version = '0.1.4'
s.summary = 'TDCRoundButton is UIButton which can be customized by setting corner radius in one line of code.'

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit a12a845

Please sign in to comment.