|
23 | 23 | <subviews> |
24 | 24 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ekS-Ew-GpT" userLabel="verificationCodeView" customClass="KWVerificationCodeView" customModule="KWVerificationCodeView"> |
25 | 25 | <rect key="frame" x="33" y="273" width="310" height="62"/> |
| 26 | + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> |
26 | 27 | <constraints> |
27 | 28 | <constraint firstAttribute="width" constant="310" id="SmR-e4-qbu"/> |
28 | 29 | <constraint firstAttribute="height" constant="62" id="mda-A6-NvC"/> |
29 | 30 | </constraints> |
| 31 | + <userDefinedRuntimeAttributes> |
| 32 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> |
| 33 | + <integer key="value" value="5"/> |
| 34 | + </userDefinedRuntimeAttribute> |
| 35 | + <userDefinedRuntimeAttribute type="color" keyPath="underlineSelectedColor"> |
| 36 | + <color key="value" red="0.068236636075229451" green="0.44572890228426398" blue="0.12406174271236946" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 37 | + </userDefinedRuntimeAttribute> |
| 38 | + <userDefinedRuntimeAttribute type="color" keyPath="underlineColor"> |
| 39 | + <color key="value" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
| 40 | + </userDefinedRuntimeAttribute> |
| 41 | + </userDefinedRuntimeAttributes> |
30 | 42 | </view> |
31 | | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Skh-28-8br" userLabel="submitButton"> |
32 | | - <rect key="frame" x="162" y="357" width="51" height="40"/> |
| 43 | + <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Skh-28-8br" userLabel="submitButton"> |
| 44 | + <rect key="frame" x="142.5" y="357" width="90" height="40"/> |
| 45 | + <color key="backgroundColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
33 | 46 | <constraints> |
| 47 | + <constraint firstAttribute="width" constant="90" id="AXu-JL-d2L"/> |
34 | 48 | <constraint firstAttribute="height" constant="40" id="LpI-mz-Z5g"/> |
35 | 49 | </constraints> |
36 | 50 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="15"/> |
37 | | - <state key="normal" title="Submit"/> |
| 51 | + <state key="normal" title="Submit"> |
| 52 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
| 53 | + </state> |
| 54 | + <state key="disabled"> |
| 55 | + <color key="titleColor" red="1" green="0.79129829853778799" blue="0.59988017074977373" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 56 | + </state> |
| 57 | + <userDefinedRuntimeAttributes> |
| 58 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> |
| 59 | + <integer key="value" value="5"/> |
| 60 | + </userDefinedRuntimeAttribute> |
| 61 | + </userDefinedRuntimeAttributes> |
38 | 62 | <connections> |
39 | 63 | <action selector="submitButtonTapped:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="NY6-ss-5Qf"/> |
40 | 64 | </connections> |
41 | 65 | </button> |
42 | 66 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KWVerificationCode Example" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6e0-Am-MUv" userLabel="titleLabel"> |
43 | | - <rect key="frame" x="16" y="185" width="343" height="24"/> |
| 67 | + <rect key="frame" x="16" y="159" width="343" height="24"/> |
44 | 68 | <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/> |
45 | | - <nil key="textColor"/> |
| 69 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
46 | 70 | <nil key="highlightedColor"/> |
47 | 71 | </label> |
48 | 72 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enter Code" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="P6k-pN-VEP" userLabel="promptLabel"> |
49 | | - <rect key="frame" x="148" y="244" width="79" height="21"/> |
50 | | - <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/> |
| 73 | + <rect key="frame" x="149" y="233" width="77" height="18"/> |
| 74 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> |
51 | 75 | <nil key="textColor"/> |
52 | 76 | <nil key="highlightedColor"/> |
53 | 77 | </label> |
54 | 78 | </subviews> |
55 | | - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 79 | + <color key="backgroundColor" red="0.93725490570000003" green="0.93725490570000003" blue="0.95686274770000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
56 | 80 | <constraints> |
57 | | - <constraint firstItem="ekS-Ew-GpT" firstAttribute="top" secondItem="P6k-pN-VEP" secondAttribute="bottom" constant="8" id="H7u-LC-n82"/> |
58 | | - <constraint firstItem="ekS-Ew-GpT" firstAttribute="top" secondItem="6e0-Am-MUv" secondAttribute="bottom" constant="64" id="HQQ-Ne-ux5"/> |
| 81 | + <constraint firstItem="ekS-Ew-GpT" firstAttribute="top" secondItem="P6k-pN-VEP" secondAttribute="bottom" constant="22" id="H7u-LC-n82"/> |
| 82 | + <constraint firstItem="ekS-Ew-GpT" firstAttribute="top" secondItem="6e0-Am-MUv" secondAttribute="bottom" constant="90" id="HQQ-Ne-ux5"/> |
59 | 83 | <constraint firstItem="6e0-Am-MUv" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="16" id="K9Y-GQ-xFr"/> |
60 | 84 | <constraint firstAttribute="trailing" secondItem="6e0-Am-MUv" secondAttribute="trailing" constant="16" id="NnO-Pl-xaO"/> |
61 | 85 | <constraint firstItem="Skh-28-8br" firstAttribute="top" secondItem="ekS-Ew-GpT" secondAttribute="bottom" constant="22" id="UAT-si-Rcy"/> |
62 | 86 | <constraint firstItem="Skh-28-8br" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="bUo-66-X5C"/> |
63 | | - <constraint firstItem="P6k-pN-VEP" firstAttribute="top" secondItem="6e0-Am-MUv" secondAttribute="bottom" constant="35" id="gvO-6d-BKX"/> |
64 | 87 | <constraint firstItem="P6k-pN-VEP" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="nb6-py-4Yg"/> |
65 | 88 | <constraint firstItem="ekS-Ew-GpT" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="rI6-Fp-Ztx"/> |
66 | 89 | <constraint firstItem="ekS-Ew-GpT" firstAttribute="centerY" secondItem="kh9-bI-dsS" secondAttribute="centerY" constant="-30" id="vWu-wt-SXh"/> |
67 | 90 | </constraints> |
68 | 91 | </view> |
69 | 92 | <connections> |
| 93 | + <outlet property="submitButton" destination="Skh-28-8br" id="c7l-qQ-HLf"/> |
70 | 94 | <outlet property="verificationCodeView" destination="ekS-Ew-GpT" id="AtV-hT-QUf"/> |
71 | 95 | </connections> |
72 | 96 | </viewController> |
|
0 commit comments