Showing
3 changed files
with
7 additions
and
7 deletions
No preview for this file type
... | @@ -33,7 +33,7 @@ import UIKit | ... | @@ -33,7 +33,7 @@ import UIKit |
33 | @IBOutlet weak var couponCodeButton: UIButton! | 33 | @IBOutlet weak var couponCodeButton: UIButton! |
34 | 34 | ||
35 | // Content elements (initially hidden) | 35 | // Content elements (initially hidden) |
36 | - @IBOutlet weak var couponCodeValueLabel: CopyableLabel! | 36 | + @IBOutlet weak var couponCodeValueLabel: UILabel! |
37 | @IBOutlet weak var copyButtonImage: UIImageView! | 37 | @IBOutlet weak var copyButtonImage: UIImageView! |
38 | @IBOutlet weak var copyButton: UIButton! | 38 | @IBOutlet weak var copyButton: UIButton! |
39 | 39 | ... | ... |
... | @@ -183,7 +183,7 @@ | ... | @@ -183,7 +183,7 @@ |
183 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wT1-HY-mg9" userLabel="CouponCodeContentView"> | 183 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wT1-HY-mg9" userLabel="CouponCodeContentView"> |
184 | <rect key="frame" x="0.0" y="54.333333333333371" width="345" height="80"/> | 184 | <rect key="frame" x="0.0" y="54.333333333333371" width="345" height="80"/> |
185 | <subviews> | 185 | <subviews> |
186 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Fn-5d-j8v" userLabel="CouponCodeValueLabel" customClass="CopyableLabel"> | 186 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Fn-5d-j8v" userLabel="CouponCodeValueLabel"> |
187 | <rect key="frame" x="16.999999999999996" y="25.999999999999943" width="56.666666666666657" height="28"/> | 187 | <rect key="frame" x="16.999999999999996" y="25.999999999999943" width="56.666666666666657" height="28"/> |
188 | <fontDescription key="fontDescription" type="system" pointSize="24"/> | 188 | <fontDescription key="fontDescription" type="system" pointSize="24"/> |
189 | <nil key="textColor"/> | 189 | <nil key="textColor"/> |
... | @@ -198,7 +198,7 @@ | ... | @@ -198,7 +198,7 @@ |
198 | </constraints> | 198 | </constraints> |
199 | </imageView> | 199 | </imageView> |
200 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uPp-hJ-U97" userLabel="CouponCopyButton"> | 200 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uPp-hJ-U97" userLabel="CouponCopyButton"> |
201 | - <rect key="frame" x="84.666666666666671" y="23.666666666666686" width="33" height="33"/> | 201 | + <rect key="frame" x="0.0" y="0.0" width="117.66666666666667" height="80"/> |
202 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 202 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
203 | <state key="normal" title="Button"/> | 203 | <state key="normal" title="Button"/> |
204 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 204 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
... | @@ -208,16 +208,16 @@ | ... | @@ -208,16 +208,16 @@ |
208 | </subviews> | 208 | </subviews> |
209 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 209 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
210 | <constraints> | 210 | <constraints> |
211 | - <constraint firstItem="uPp-hJ-U97" firstAttribute="leading" secondItem="AXc-Yh-5Ek" secondAttribute="leading" id="4AX-eb-8Eo"/> | 211 | + <constraint firstItem="AXc-Yh-5Ek" firstAttribute="trailing" secondItem="uPp-hJ-U97" secondAttribute="trailing" id="3aJ-yL-aQu"/> |
212 | + <constraint firstItem="uPp-hJ-U97" firstAttribute="leading" secondItem="wT1-HY-mg9" secondAttribute="leading" id="6Jl-oE-u2d"/> | ||
212 | <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="AXc-Yh-5Ek" secondAttribute="trailing" constant="17" id="7Pr-rr-Awn"/> | 213 | <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="AXc-Yh-5Ek" secondAttribute="trailing" constant="17" id="7Pr-rr-Awn"/> |
213 | - <constraint firstItem="uPp-hJ-U97" firstAttribute="trailing" secondItem="AXc-Yh-5Ek" secondAttribute="trailing" id="BlL-II-2cP"/> | ||
214 | <constraint firstItem="AXc-Yh-5Ek" firstAttribute="centerY" secondItem="wT1-HY-mg9" secondAttribute="centerY" id="FdP-94-Drs"/> | 214 | <constraint firstItem="AXc-Yh-5Ek" firstAttribute="centerY" secondItem="wT1-HY-mg9" secondAttribute="centerY" id="FdP-94-Drs"/> |
215 | <constraint firstItem="2Fn-5d-j8v" firstAttribute="leading" secondItem="wT1-HY-mg9" secondAttribute="leading" constant="17" id="HYO-ML-C8b"/> | 215 | <constraint firstItem="2Fn-5d-j8v" firstAttribute="leading" secondItem="wT1-HY-mg9" secondAttribute="leading" constant="17" id="HYO-ML-C8b"/> |
216 | + <constraint firstItem="uPp-hJ-U97" firstAttribute="top" secondItem="wT1-HY-mg9" secondAttribute="top" id="RGx-ep-QGw"/> | ||
216 | <constraint firstItem="2Fn-5d-j8v" firstAttribute="top" secondItem="wT1-HY-mg9" secondAttribute="top" constant="26" id="XpY-aU-BzN"/> | 217 | <constraint firstItem="2Fn-5d-j8v" firstAttribute="top" secondItem="wT1-HY-mg9" secondAttribute="top" constant="26" id="XpY-aU-BzN"/> |
217 | <constraint firstAttribute="bottom" secondItem="2Fn-5d-j8v" secondAttribute="bottom" constant="26" id="Y10-PC-eP5"/> | 218 | <constraint firstAttribute="bottom" secondItem="2Fn-5d-j8v" secondAttribute="bottom" constant="26" id="Y10-PC-eP5"/> |
218 | - <constraint firstItem="uPp-hJ-U97" firstAttribute="top" secondItem="AXc-Yh-5Ek" secondAttribute="top" id="hSS-7f-MiM"/> | 219 | + <constraint firstAttribute="bottom" secondItem="uPp-hJ-U97" secondAttribute="bottom" id="b9r-2I-hhe"/> |
219 | <constraint firstAttribute="height" constant="80" id="ky8-Xs-cjh"/> | 220 | <constraint firstAttribute="height" constant="80" id="ky8-Xs-cjh"/> |
220 | - <constraint firstItem="uPp-hJ-U97" firstAttribute="bottom" secondItem="AXc-Yh-5Ek" secondAttribute="bottom" id="v1F-S6-muO"/> | ||
221 | <constraint firstItem="AXc-Yh-5Ek" firstAttribute="leading" secondItem="2Fn-5d-j8v" secondAttribute="trailing" constant="11" id="vuS-Bk-Q0J"/> | 221 | <constraint firstItem="AXc-Yh-5Ek" firstAttribute="leading" secondItem="2Fn-5d-j8v" secondAttribute="trailing" constant="11" id="vuS-Bk-Q0J"/> |
222 | </constraints> | 222 | </constraints> |
223 | </view> | 223 | </view> | ... | ... |
-
Please register or login to post a comment