Browse Source

view managed

pull/1/head
gme_2 6 years ago
parent
commit
b8726af26d
  1. 47
      GMERemittance/Module/Resend/User Interface/View/Resend.storyboard
  2. 8
      GMERemittance/Module/Resend/User Interface/View/ResendViewController.swift

47
GMERemittance/Module/Resend/User Interface/View/Resend.storyboard

@ -69,18 +69,18 @@
<rect key="frame" x="10" y="20" width="355" height="579"/>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="ResendTableViewCell" rowHeight="124" id="IDR-UG-A5a" customClass="ResendTableViewCell" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="355" height="124"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="ResendTableViewCell" rowHeight="120" id="IDR-UG-A5a" customClass="ResendTableViewCell" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="355" height="120"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="IDR-UG-A5a" id="2ii-qB-Cru">
<rect key="frame" x="0.0" y="0.0" width="355" height="124"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="120"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n76-t2-wdT">
<rect key="frame" x="5" y="5" width="345" height="114"/>
<rect key="frame" x="5" y="5" width="345" height="110"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="8Ky-ya-IdP">
<rect key="frame" x="15" y="10" width="315" height="94"/>
<rect key="frame" x="15" y="10" width="315" height="66.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Xkq-N0-ok7">
<rect key="frame" x="0.0" y="0.0" width="315" height="14.5"/>
@ -100,19 +100,19 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3kc-yR-MOT">
<rect key="frame" x="0.0" y="14.5" width="315" height="38.5"/>
<rect key="frame" x="0.0" y="14.5" width="315" height="36"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="200" verticalCompressionResistancePriority="700" text="To: Dhan Singh Saud To: Dhan Singh Saud" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kNZ-hY-07f">
<rect key="frame" x="0.0" y="0.0" width="157.5" height="38.5"/>
<rect key="frame" x="0.0" y="0.0" width="157.5" height="36"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="30" id="sF3-gW-FNy"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="16"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="15"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="255" verticalHuggingPriority="251" horizontalCompressionResistancePriority="755" text="-1,000,000" textAlignment="right" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bim-W1-ROr">
<rect key="frame" x="157.5" y="0.0" width="157.5" height="38.5"/>
<rect key="frame" x="157.5" y="0.0" width="157.5" height="36"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="18"/>
<color key="textColor" red="0.92941176469999998" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
@ -120,7 +120,7 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3yv-W2-6iD">
<rect key="frame" x="0.0" y="53" width="315" height="16"/>
<rect key="frame" x="0.0" y="50.5" width="315" height="16"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="Cash Payment" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pnu-bl-6Sw">
<rect key="frame" x="0.0" y="0.0" width="263" height="16"/>
@ -139,26 +139,29 @@
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="InP-8f-D97" userLabel="bank">
<rect key="frame" x="0.0" y="69" width="315" height="25"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="Cash Payment" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="brQ-QI-mse">
<rect key="frame" x="0.0" y="0.0" width="315" height="25"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="InP-8f-D97" userLabel="bank">
<rect key="frame" x="15" y="83" width="315" height="17"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="GLOBAL BANK PRIAATE LIMITED KATHMANDU" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="brQ-QI-mse">
<rect key="frame" x="0.0" y="0.0" width="315" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="0.84999999999999998" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="8Ky-ya-IdP" secondAttribute="bottom" constant="10" id="4T5-re-hQT"/>
<constraint firstItem="InP-8f-D97" firstAttribute="trailing" secondItem="8Ky-ya-IdP" secondAttribute="trailing" id="1bc-0H-tfx"/>
<constraint firstItem="8Ky-ya-IdP" firstAttribute="top" secondItem="n76-t2-wdT" secondAttribute="top" constant="10" id="9N3-iG-Jjf"/>
<constraint firstAttribute="trailing" secondItem="8Ky-ya-IdP" secondAttribute="trailing" constant="15" id="HDg-OC-tbl"/>
<constraint firstItem="InP-8f-D97" firstAttribute="top" secondItem="8Ky-ya-IdP" secondAttribute="bottom" constant="6.5" id="rRZ-3V-Yr9"/>
<constraint firstItem="8Ky-ya-IdP" firstAttribute="leading" secondItem="n76-t2-wdT" secondAttribute="leading" constant="15" id="rzO-r4-kwb"/>
<constraint firstItem="InP-8f-D97" firstAttribute="leading" secondItem="8Ky-ya-IdP" secondAttribute="leading" id="xmZ-hR-flv"/>
<constraint firstAttribute="bottom" secondItem="InP-8f-D97" secondAttribute="bottom" constant="10" id="za4-Ft-OMR"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">

8
GMERemittance/Module/Resend/User Interface/View/ResendViewController.swift

@ -162,14 +162,14 @@ extension ResendViewController: UITableViewDataSource {
extension ResendViewController {
func createFakeAccount() {
var model1 = ResendListModel()
model1.user = "shishir sapkota"
model1.user = "SHISHIR SAPKOTA"
model1.cAmt = "10000"
model1.pAmt = "10000"
model1.payStatus = "Paid"
model1.payStatus = "PAID"
model1.controlNumber = "0987654321"
model1.payOutMode = "Cash Payment"
model1.payOutMode = "CASH PAYMENT"
model1.sendDate = "Tue, 12.7.2019"
model1.bankDetail = "Global IME Bank"
model1.bankDetail = "GLOBAL BANK PRIAATE LIMITED KATHMANDU"
self.models = [model1]
}
}
Loading…
Cancel
Save