Browse Source

Merge remote-tracking branch 'refs/remotes/origin/dev-swift-d'

v0.17
Dibya 2 years ago
parent
commit
1f152bafc9
  1. 12
      GME Remit.xcodeproj/project.pbxproj
  2. 239
      GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetail.storyboard
  3. 18
      GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailHeaderView.swift
  4. 201
      GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailHeaderView.xib
  5. 40
      GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailViewController.swift
  6. 31
      GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryTableViewCell.swift
  7. 1
      GME Remit/Modules/RecipientModules/Recipients/Application Logic/Interactor/RecipientsInteractor.swift

12
GME Remit.xcodeproj/project.pbxproj

@ -18,6 +18,7 @@
0496B84F1FE7DFCD0044810E /* String+Ext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0496B84D1FE7DFCD0044810E /* String+Ext.swift */; };
049E61A51FF0AE9D00817C76 /* UrlManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049E61A41FF0AE9D00817C76 /* UrlManager.swift */; };
04DC27EC21A51E29003714F5 /* AutoRefund.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04DC27EB21A51E29003714F5 /* AutoRefund.swift */; };
240CCA7A29D165CA008867D2 /* BeneficiaryTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 240CCA7929D165CA008867D2 /* BeneficiaryTableViewCell.swift */; };
241796CB29B3810C005D8219 /* LoyalityPointsModuleInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 241796B929B3810C005D8219 /* LoyalityPointsModuleInterface.swift */; };
241796CC29B3810C005D8219 /* LoyalityPointsServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 241796BC29B3810C005D8219 /* LoyalityPointsServiceType.swift */; };
241796CD29B3810C005D8219 /* LoyalityPointsService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 241796BD29B3810C005D8219 /* LoyalityPointsService.swift */; };
@ -63,6 +64,8 @@
24BBCCEB29CD7C430081F4A6 /* BeneficiaryDetail.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 24BBCCE029CD7C430081F4A6 /* BeneficiaryDetail.storyboard */; };
24BBCCEC29CD7C430081F4A6 /* BeneficiaryDetailViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24BBCCE129CD7C430081F4A6 /* BeneficiaryDetailViewInterface.swift */; };
24BBCCED29CD7C430081F4A6 /* BeneficiaryDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24BBCCE229CD7C430081F4A6 /* BeneficiaryDetailViewController.swift */; };
24D013CF29D2C296000A3B78 /* BeneficiaryDetailHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24D013CE29D2C296000A3B78 /* BeneficiaryDetailHeaderView.swift */; };
24D013D329D2C2E5000A3B78 /* BeneficiaryDetailHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 24D013D229D2C2E5000A3B78 /* BeneficiaryDetailHeaderView.xib */; };
281EF60028ACCC4D0092E5E6 /* HowToDepositModuleInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 281EF5ED28ACCC4D0092E5E6 /* HowToDepositModuleInterface.swift */; };
281EF60128ACCC4D0092E5E6 /* HowToDepositService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 281EF5F028ACCC4D0092E5E6 /* HowToDepositService.swift */; };
281EF60228ACCC4D0092E5E6 /* HowToDepositServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 281EF5F128ACCC4D0092E5E6 /* HowToDepositServiceType.swift */; };
@ -879,6 +882,7 @@
0496B84D1FE7DFCD0044810E /* String+Ext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "String+Ext.swift"; sourceTree = "<group>"; };
049E61A41FF0AE9D00817C76 /* UrlManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UrlManager.swift; sourceTree = "<group>"; };
04DC27EB21A51E29003714F5 /* AutoRefund.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoRefund.swift; sourceTree = "<group>"; };
240CCA7929D165CA008867D2 /* BeneficiaryTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeneficiaryTableViewCell.swift; sourceTree = "<group>"; };
241796B929B3810C005D8219 /* LoyalityPointsModuleInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoyalityPointsModuleInterface.swift; sourceTree = "<group>"; };
241796BC29B3810C005D8219 /* LoyalityPointsServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoyalityPointsServiceType.swift; sourceTree = "<group>"; };
241796BD29B3810C005D8219 /* LoyalityPointsService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoyalityPointsService.swift; sourceTree = "<group>"; };
@ -924,6 +928,8 @@
24BBCCE029CD7C430081F4A6 /* BeneficiaryDetail.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = BeneficiaryDetail.storyboard; sourceTree = "<group>"; };
24BBCCE129CD7C430081F4A6 /* BeneficiaryDetailViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BeneficiaryDetailViewInterface.swift; sourceTree = "<group>"; };
24BBCCE229CD7C430081F4A6 /* BeneficiaryDetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BeneficiaryDetailViewController.swift; sourceTree = "<group>"; };
24D013CE29D2C296000A3B78 /* BeneficiaryDetailHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeneficiaryDetailHeaderView.swift; sourceTree = "<group>"; };
24D013D229D2C2E5000A3B78 /* BeneficiaryDetailHeaderView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BeneficiaryDetailHeaderView.xib; sourceTree = "<group>"; };
281EF5ED28ACCC4D0092E5E6 /* HowToDepositModuleInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HowToDepositModuleInterface.swift; sourceTree = "<group>"; };
281EF5F028ACCC4D0092E5E6 /* HowToDepositService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HowToDepositService.swift; sourceTree = "<group>"; };
281EF5F128ACCC4D0092E5E6 /* HowToDepositServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HowToDepositServiceType.swift; sourceTree = "<group>"; };
@ -2002,6 +2008,9 @@
24BBCCE029CD7C430081F4A6 /* BeneficiaryDetail.storyboard */,
24BBCCE129CD7C430081F4A6 /* BeneficiaryDetailViewInterface.swift */,
24BBCCE229CD7C430081F4A6 /* BeneficiaryDetailViewController.swift */,
240CCA7929D165CA008867D2 /* BeneficiaryTableViewCell.swift */,
24D013CE29D2C296000A3B78 /* BeneficiaryDetailHeaderView.swift */,
24D013D229D2C2E5000A3B78 /* BeneficiaryDetailHeaderView.xib */,
);
path = View;
sourceTree = "<group>";
@ -7342,6 +7351,7 @@
5EC4638028AA2611006B5FDC /* NotificationList.storyboard in Resources */,
2454866629BA2AE60065E1DD /* volte-light.otf in Resources */,
892F9E8E243DB0F300D9D88C /* ShowAPI.storyboard in Resources */,
24D013D329D2C2E5000A3B78 /* BeneficiaryDetailHeaderView.xib in Resources */,
2454866929BA2AE60065E1DD /* volte-mediumitalic.otf in Resources */,
735F68E22394A76800A2DBC8 /* NewRegister.storyboard in Resources */,
D96A4FDD21460B4A00CFD507 /* SplashScreen.storyboard in Resources */,
@ -8104,6 +8114,7 @@
89EA0D7A243EC1C5003ACCC8 /* PersonalInformationPresenter.swift in Sources */,
D950BED221549242008367A1 /* HomeServiceType.swift in Sources */,
89739E6024459A630016251B /* SendMoneyVerificationWireframe.swift in Sources */,
240CCA7A29D165CA008867D2 /* BeneficiaryTableViewCell.swift in Sources */,
241796D229B3810C005D8219 /* LoyalityPointsWireframe.swift in Sources */,
733A3BA2235557E100E6B87E /* CreditCardView.swift in Sources */,
73195AB422FD14D500151434 /* SetupRecipientService.swift in Sources */,
@ -8136,6 +8147,7 @@
405718EE24D93EB40022CDDE /* VerifyIDNumberInteractorIO.swift in Sources */,
0496B8481FE7DFA20044810E /* RestApiManager.swift in Sources */,
24A4502629B849920049CE29 /* CurrencyTextField.swift in Sources */,
24D013CF29D2C296000A3B78 /* BeneficiaryDetailHeaderView.swift in Sources */,
24BBCCED29CD7C430081F4A6 /* BeneficiaryDetailViewController.swift in Sources */,
73FBBF2523F231A8009D7627 /* DetailNotificationServiceType.swift in Sources */,
73AEFF702334A13100A967FB /* TransactionHistoryGroupModuleInterface.swift in Sources */,

239
GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetail.storyboard

@ -58,171 +58,11 @@
<constraint firstAttribute="trailing" secondItem="SgC-Zr-M2U" secondAttribute="trailing" constant="16" id="nqt-j4-gnI"/>
</constraints>
</view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="nhb-o1-ekZ">
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="nhb-o1-ekZ">
<rect key="frame" x="20" y="50" width="335" height="650"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="7d8-Fv-619">
<rect key="frame" x="0.0" y="0.0" width="335" height="165"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="32" translatesAutoresizingMaskIntoConstraints="NO" id="IC7-5u-2hN">
<rect key="frame" x="0.0" y="0.0" width="335" height="165"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="dhs-ZH-QJw">
<rect key="frame" x="0.0" y="9" width="96" height="147"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_image" translatesAutoresizingMaskIntoConstraints="NO" id="Owc-cl-DGR">
<rect key="frame" x="0.0" y="0.0" width="96" height="96"/>
<constraints>
<constraint firstAttribute="width" constant="96" id="Sdd-mF-eJ1"/>
<constraint firstAttribute="height" constant="96" id="ghA-ui-z0y"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0xQ-e7-Vqb">
<rect key="frame" x="0.0" y="116" width="96" height="31"/>
<constraints>
<constraint firstAttribute="height" constant="31" id="coG-v2-wbe"/>
</constraints>
<color key="tintColor" red="0.1803921568627451" green="0.53725490196078429" blue="1" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Update"/>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="lmj-Vg-SQG">
<rect key="frame" x="128" y="6.5" width="207" height="152"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="4GK-BA-lCj">
<rect key="frame" x="0.0" y="0.0" width="207" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="OCx-bC-rJb">
<rect key="frame" x="0.0" y="4" width="24" height="24"/>
<constraints>
<constraint firstAttribute="height" constant="24" id="cW1-rO-ZVt"/>
<constraint firstAttribute="width" constant="24" id="rgL-Dy-xiR"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="klu-Fm-Zi4">
<rect key="frame" x="32" y="0.0" width="175" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MaY-cJ-z8a">
<rect key="frame" x="0.0" y="0.0" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941176470589" green="0.62352941176470589" blue="0.62352941176470589" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rajesh Sharma" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Gz-4k-o6Q">
<rect key="frame" x="0.0" y="16" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Xb1-GV-d3u">
<rect key="frame" x="0.0" y="40" width="207" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="j4v-FU-Ds2">
<rect key="frame" x="0.0" y="4" width="24" height="24"/>
<constraints>
<constraint firstAttribute="height" constant="24" id="R0Y-Tx-F1P"/>
<constraint firstAttribute="width" constant="24" id="bIj-c3-R0e"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="Eb6-ZA-13J">
<rect key="frame" x="32" y="0.0" width="175" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zCs-ye-DFj">
<rect key="frame" x="0.0" y="0.0" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rajesh Sharma" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="m7c-cG-URc">
<rect key="frame" x="0.0" y="16" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="hNK-BM-IaB">
<rect key="frame" x="0.0" y="80" width="207" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="I4m-uD-kOg">
<rect key="frame" x="0.0" y="4" width="24" height="24"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="BbE-aU-YkS"/>
<constraint firstAttribute="height" constant="24" id="l0O-kk-XQ4"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="fey-vZ-Um0">
<rect key="frame" x="32" y="0.0" width="175" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xm3-HN-iIf">
<rect key="frame" x="0.0" y="0.0" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rajesh Sharma" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fKe-CP-Ddg">
<rect key="frame" x="0.0" y="16" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="RBy-tS-3qS">
<rect key="frame" x="0.0" y="120" width="207" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="5p1-o0-fpz">
<rect key="frame" x="0.0" y="4" width="24" height="24"/>
<constraints>
<constraint firstAttribute="height" constant="24" id="5JQ-Kc-bPr"/>
<constraint firstAttribute="width" constant="24" id="AF7-91-LCr"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="m8D-Yz-pGU">
<rect key="frame" x="32" y="0.0" width="175" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5SO-tq-90r">
<rect key="frame" x="0.0" y="0.0" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rajesh Sharma" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6Wd-hf-ec0">
<rect key="frame" x="0.0" y="16" width="175" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="IC7-5u-2hN" secondAttribute="bottom" id="7qu-Ex-WEz"/>
<constraint firstAttribute="trailing" secondItem="IC7-5u-2hN" secondAttribute="trailing" id="Wbe-4z-K8p"/>
<constraint firstItem="IC7-5u-2hN" firstAttribute="leading" secondItem="7d8-Fv-619" secondAttribute="leading" id="Zje-WD-T2K"/>
<constraint firstItem="IC7-5u-2hN" firstAttribute="top" secondItem="7d8-Fv-619" secondAttribute="top" id="cPy-nI-7Mm"/>
</constraints>
</view>
<view key="tableFooterView" contentMode="scaleToFill" id="bfe-KV-1bh">
<rect key="frame" x="0.0" y="446" width="335" height="89"/>
<rect key="frame" x="0.0" y="281" width="335" height="89"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="D0P-MT-gyH">
@ -256,67 +96,71 @@
</constraints>
</view>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="203" id="Zvf-x1-Wi5">
<rect key="frame" x="0.0" y="215" width="335" height="203"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="BeneficiaryTableViewCell" rowHeight="203" id="Zvf-x1-Wi5" customClass="BeneficiaryTableViewCell" customModule="JME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="50" width="335" height="203"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Zvf-x1-Wi5" id="44G-xa-BlV">
<rect key="frame" x="0.0" y="0.0" width="335" height="203"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="Keh-9H-RzY">
<rect key="frame" x="0.0" y="0.0" width="319" height="203"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="g1X-nk-DT1">
<rect key="frame" x="32" y="87.5" width="20" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="20" id="O9G-yu-DCz"/>
<constraint firstAttribute="height" constant="20" id="Waa-yT-1im"/>
</constraints>
<color key="tintColor" red="0.0" green="0.80000000000000004" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" image="circle.fill" catalog="system"/>
</button>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="D67-SU-D0Q">
<rect key="frame" x="70" y="0.0" width="265" height="195"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rgh-8D-QlR">
<rect key="frame" x="0.0" y="84.5" width="50" height="34"/>
<color key="tintColor" red="0.0" green="0.80000000000000004" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" image="circle.inset.filled" catalog="system"/>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZDM-LN-544">
<rect key="frame" x="66" y="12" width="253" height="179"/>
<rect key="frame" x="0.0" y="0.0" width="265" height="195"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="DHQ-Um-OF3">
<rect key="frame" x="16" y="16" width="212.5" height="82"/>
<rect key="frame" x="16" y="16" width="249" height="163"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bank_deposit" translatesAutoresizingMaskIntoConstraints="NO" id="hqc-cx-rzh">
<rect key="frame" x="0.0" y="0.0" width="54" height="40"/>
<rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="2AX-wg-DHd"/>
<constraint firstAttribute="width" constant="40" id="jBV-OA-jx3"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Cnn-41-XDg">
<rect key="frame" x="70" y="0.0" width="142.5" height="82"/>
<rect key="frame" x="56" y="0.0" width="193" height="82"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="IME Pay Mobile Wallet" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ae7-L0-gY3">
<rect key="frame" x="0.0" y="0.0" width="142.5" height="14"/>
<rect key="frame" x="0.0" y="0.0" width="193" height="14"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="Lh7-U6-fWO">
<rect key="frame" x="0.0" y="22" width="142.5" height="60"/>
<rect key="frame" x="0.0" y="22" width="193" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID: 9841303676" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="doi-P7-z1R">
<rect key="frame" x="0.0" y="0.0" width="142.5" height="12"/>
<rect key="frame" x="0.0" y="0.0" width="193" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID: 9841303676" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="O58-Ke-fq6">
<rect key="frame" x="0.0" y="16" width="142.5" height="12"/>
<rect key="frame" x="0.0" y="16" width="193" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID: 9841303676" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9uL-wQ-mZd">
<rect key="frame" x="0.0" y="32" width="142.5" height="12"/>
<rect key="frame" x="0.0" y="32" width="193" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID: 9841303676" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jsp-NN-jLM">
<rect key="frame" x="0.0" y="48" width="142.5" height="12"/>
<rect key="frame" x="0.0" y="48" width="193" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@ -328,7 +172,7 @@
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" name="ThemeSeparate"/>
<color key="backgroundColor" red="0.1803921568627451" green="0.53725490196078429" blue="1" alpha="0.038622723509933773" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="DHQ-Um-OF3" firstAttribute="top" secondItem="ZDM-LN-544" secondAttribute="top" constant="16" id="IPG-sG-484"/>
<constraint firstAttribute="trailing" secondItem="DHQ-Um-OF3" secondAttribute="trailing" id="JfO-A7-ABO"/>
@ -337,19 +181,21 @@
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="width" constant="20" id="gM0-Jm-Ifw"/>
<constraint firstAttribute="height" constant="20" id="jnK-ah-iGd"/>
</constraints>
</stackView>
</subviews>
<constraints>
<constraint firstItem="Keh-9H-RzY" firstAttribute="leading" secondItem="44G-xa-BlV" secondAttribute="leading" id="3p6-L5-hAV"/>
<constraint firstAttribute="bottom" secondItem="Keh-9H-RzY" secondAttribute="bottom" id="3sU-Za-UiA"/>
<constraint firstAttribute="trailing" secondItem="Keh-9H-RzY" secondAttribute="trailing" constant="16" id="Elb-0n-Fik"/>
<constraint firstItem="Keh-9H-RzY" firstAttribute="top" secondItem="44G-xa-BlV" secondAttribute="top" id="yAW-2k-ZfN"/>
<constraint firstItem="g1X-nk-DT1" firstAttribute="leading" secondItem="44G-xa-BlV" secondAttribute="leadingMargin" constant="16" id="TRb-GI-rbl"/>
<constraint firstItem="D67-SU-D0Q" firstAttribute="top" secondItem="44G-xa-BlV" secondAttribute="top" id="UPN-7w-zv5"/>
<constraint firstAttribute="trailing" secondItem="D67-SU-D0Q" secondAttribute="trailing" id="cbz-5E-LAP"/>
<constraint firstAttribute="bottom" secondItem="D67-SU-D0Q" secondAttribute="bottom" constant="8" id="cgz-1t-aR5"/>
<constraint firstItem="g1X-nk-DT1" firstAttribute="centerY" secondItem="D67-SU-D0Q" secondAttribute="centerY" id="tdM-Vc-Aq3"/>
<constraint firstItem="D67-SU-D0Q" firstAttribute="leading" secondItem="g1X-nk-DT1" secondAttribute="trailing" constant="18" id="vDY-r5-UjS"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="indicatorButton" destination="g1X-nk-DT1" id="4vj-vA-Y9D"/>
<outlet property="walletInfoView" destination="ZDM-LN-544" id="QlL-Ah-8f5"/>
</connections>
</tableViewCell>
</prototypes>
</tableView>
@ -367,6 +213,10 @@
</constraints>
</view>
<size key="freeformSize" width="375" height="700"/>
<connections>
<outlet property="continueButton" destination="jac-30-JTB" id="F7L-bI-FGE"/>
<outlet property="tableView" destination="nhb-o1-ekZ" id="Usn-AR-3hH"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
@ -376,17 +226,12 @@
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<resources>
<image name="arrow.forward" catalog="system" width="128" height="95"/>
<image name="avatar" width="57" height="55"/>
<image name="backIconBlack" width="21" height="16"/>
<image name="bank_deposit" width="54" height="54"/>
<image name="circle.inset.filled" catalog="system" width="128" height="123"/>
<image name="user_image" width="96" height="96"/>
<image name="circle.fill" catalog="system" width="128" height="123"/>
<namedColor name="ThemeBlack">
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</namedColor>
<namedColor name="ThemeSeparate">
<color red="0.82352941176470584" green="0.82352941176470584" blue="0.82352941176470584" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>

18
GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailHeaderView.swift

@ -0,0 +1,18 @@
//
import UIKit
class BeneficiaryDetailHeaderView: UITableViewHeaderFooterView {
static var identifier: String {
return String(describing: self)
}
/*
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
}
*/
}

201
GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailHeaderView.xib

@ -0,0 +1,201 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<customFonts key="customFonts">
<array key="volte-semibold.otf">
<string>FONTSPRINGDEMO-VolteSemiboldRegular</string>
</array>
</customFonts>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="BeneficiaryDetailHeaderView" customModule="JME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="583" height="490"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HTO-pZ-QWG">
<rect key="frame" x="0.0" y="0.0" width="583" height="456"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="32" translatesAutoresizingMaskIntoConstraints="NO" id="aDS-Ur-z6j">
<rect key="frame" x="0.0" y="0.0" width="583" height="456"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="dRH-kU-ofV">
<rect key="frame" x="0.0" y="0.0" width="96" height="147"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_image" translatesAutoresizingMaskIntoConstraints="NO" id="LrN-sh-VUv">
<rect key="frame" x="0.0" y="0.0" width="96" height="96"/>
<constraints>
<constraint firstAttribute="width" constant="96" id="Eoq-tq-ChW"/>
<constraint firstAttribute="height" constant="96" id="S4b-RF-PTY"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oWf-Ce-WX4">
<rect key="frame" x="0.0" y="116" width="96" height="31"/>
<constraints>
<constraint firstAttribute="height" constant="31" id="RMf-T7-eWB"/>
</constraints>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Update"/>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Cqd-2Y-S86">
<rect key="frame" x="128" y="0.0" width="455" height="136"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="CCk-EB-IRl">
<rect key="frame" x="0.0" y="0.0" width="455" height="28"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="h3i-Ff-cvM">
<rect key="frame" x="0.0" y="0.0" width="24" height="24"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="4GE-0k-q3Q"/>
<constraint firstAttribute="height" constant="24" id="8xJ-lv-h86"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="lVO-cb-12f">
<rect key="frame" x="32" y="0.0" width="423" height="28"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5JV-mF-sfQ">
<rect key="frame" x="0.0" y="0.0" width="423" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rajesh Sharma" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mve-d1-oe2">
<rect key="frame" x="0.0" y="12" width="423" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="nLI-6r-icB">
<rect key="frame" x="0.0" y="36" width="455" height="28"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="dgU-AV-hy1">
<rect key="frame" x="0.0" y="0.0" width="24" height="24"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="8px-TN-DFx"/>
<constraint firstAttribute="height" constant="24" id="WGz-4r-arI"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="W5h-nA-8vi">
<rect key="frame" x="32" y="0.0" width="423" height="28"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mobile Number" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fsd-2X-Yg1">
<rect key="frame" x="0.0" y="0.0" width="423" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="9860636112" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eC0-je-pC7">
<rect key="frame" x="0.0" y="12" width="423" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="WAL-nn-fmB">
<rect key="frame" x="0.0" y="72" width="455" height="28"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="0e3-j0-Rkg">
<rect key="frame" x="0.0" y="0.0" width="24" height="24"/>
<constraints>
<constraint firstAttribute="height" constant="24" id="4rG-wR-cHd"/>
<constraint firstAttribute="width" constant="24" id="cLd-Pp-AXF"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="0ya-j9-bOy">
<rect key="frame" x="32" y="0.0" width="423" height="28"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Relationship" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jRQ-jY-rgv">
<rect key="frame" x="0.0" y="0.0" width="423" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Brother" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l7P-Wg-OyY">
<rect key="frame" x="0.0" y="12" width="423" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="NUo-GK-jR6">
<rect key="frame" x="0.0" y="108" width="455" height="28"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="sMg-xb-OHS">
<rect key="frame" x="0.0" y="0.0" width="24" height="24"/>
<constraints>
<constraint firstAttribute="width" constant="24" id="Ggd-4P-fj4"/>
<constraint firstAttribute="height" constant="24" id="v1l-6n-RmD"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="COx-Vo-arU">
<rect key="frame" x="32" y="0.0" width="423" height="28"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Location" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8uE-gE-4K5">
<rect key="frame" x="0.0" y="0.0" width="423" height="12"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="12"/>
<color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="0.87" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Kathmandu" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="p4q-80-eVy">
<rect key="frame" x="0.0" y="12" width="423" height="16"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="aDS-Ur-z6j" firstAttribute="top" secondItem="HTO-pZ-QWG" secondAttribute="top" id="Abd-zh-uDT"/>
<constraint firstAttribute="trailing" secondItem="aDS-Ur-z6j" secondAttribute="trailing" id="Nsc-WY-1jQ"/>
<constraint firstAttribute="bottom" secondItem="aDS-Ur-z6j" secondAttribute="bottom" id="Zjb-eW-UL4"/>
<constraint firstItem="aDS-Ur-z6j" firstAttribute="leading" secondItem="HTO-pZ-QWG" secondAttribute="leading" id="b0G-zz-yfF"/>
</constraints>
</view>
</subviews>
<viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="HTO-pZ-QWG" secondAttribute="trailing" id="C5a-M9-JDU"/>
<constraint firstItem="HTO-pZ-QWG" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="SW0-iG-8kN"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="HTO-pZ-QWG" secondAttribute="bottom" id="U25-Aw-1XQ"/>
<constraint firstItem="HTO-pZ-QWG" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="XZu-Dj-52T"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="110.68702290076335" y="-91.549295774647888"/>
</view>
</objects>
<resources>
<image name="avatar" width="57" height="55"/>
<image name="user_image" width="96" height="96"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>

40
GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryDetailViewController.swift

@ -16,6 +16,10 @@ class BeneficiaryDetailViewController: UIViewController {
// MARK: IBOutlets
@IBOutlet weak var tableView: UITableView!
@IBOutlet weak var continueButton: UIButton!
//@IBOutlet weak var updateButton: UIButton!
@IBAction func backButton(_ sender: UIButton) {
self.navigationController?.popViewController(animated: true)
}
@ -43,9 +47,43 @@ class BeneficiaryDetailViewController: UIViewController {
// MARK: Other Functions
private func setup() {
tableView.delegate = self
tableView.dataSource = self
tableView.register(UINib(nibName: BeneficiaryDetailHeaderView.identifier, bundle: nil), forHeaderFooterViewReuseIdentifier: BeneficiaryDetailHeaderView.identifier)
continueButton.set(cornerRadius: 10)
//updateButton.set(cornerRadius: 10)
//updateButton.set(borderWidth: 2, of: .init(hex: "#2E89FF"))
}
}
extension BeneficiaryDetailViewController: UITableViewDataSource, UITableViewDelegate {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 5
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: BeneficiaryTableViewCell.identifier, for: indexPath) as! BeneficiaryTableViewCell
return cell
}
func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat {
return 100
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let headerView = tableView.dequeueReusableHeaderFooterView(withIdentifier: BeneficiaryDetailHeaderView.identifier) as! BeneficiaryDetailHeaderView
// headerView.sectionTitleLabel.text = "TableView Heder \(section)"
return headerView
}
func tableView(_ tableView: UITableView, estimatedHeightForHeaderInSection section: Int) -> CGFloat {
return 100
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return UITableView.automaticDimension
}
}

31
GME Remit/Modules/BeneficiaryDetail/User Interface/View/BeneficiaryTableViewCell.swift

@ -0,0 +1,31 @@
//
import UIKit
class BeneficiaryTableViewCell: UITableViewCell {
@IBOutlet weak var indicatorButton: UIButton!
@IBOutlet weak var walletInfoView: UIView!
static var identifier: String {
return String(describing: self)
}
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
indicatorButton.setTitle("", for: .normal)
walletInfoView.set(cornerRadius: 10)
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
@IBAction func selectedButton(_ sender: Any) {
}
}

1
GME Remit/Modules/RecipientModules/Recipients/Application Logic/Interactor/RecipientsInteractor.swift

@ -58,7 +58,6 @@ extension RecipientsInteractor: RecipientsInteractorInput {
service.fetchRecipients(
success: {
self.recipients = $0.recipients
self.output?.setRecipients(using: $0.recipients ?? [])
},
failure: { self.output?.setError(with:$0) }

Loading…
Cancel
Save