Browse Source

transfers

v0.17
Dibya 1 year ago
parent
commit
a075850827
  1. 18
      GME Remit/Modules/Home/User Interface/View/Home.storyboard
  2. 8
      GME Remit/Modules/Home/User Interface/View/HomeViewController.swift
  3. 30
      GME Remit/Modules/RecipientModules/Recipients/User Interface/View/Recipients.storyboard

18
GME Remit/Modules/Home/User Interface/View/Home.storyboard

@ -37,7 +37,7 @@
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="frG-CG-zlO">
<rect key="frame" x="0.0" y="0.0" width="304" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_image" translatesAutoresizingMaskIntoConstraints="NO" id="uWJ-LO-XOz">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_image" translatesAutoresizingMaskIntoConstraints="NO" id="uWJ-LO-XOz">
<rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
<constraints>
<constraint firstAttribute="height" constant="32" id="ObI-hY-fPi"/>
@ -45,7 +45,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="HI Rabin" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uZf-8n-nLc">
<rect key="frame" x="40" y="6" width="264" height="20"/>
<rect key="frame" x="40" y="4.5" width="264" height="23.5"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="20"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -96,7 +96,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Thank you for registering with us!" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="pcY-xj-hQb">
<rect key="frame" x="103" y="20" width="273" height="14.5"/>
<rect key="frame" x="103" y="20" width="273" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
@ -109,7 +109,7 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Your document is in verification process. This will not take long. Thereafter you can enjoy GME online service." lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="rwJ-pQ-p9z">
<rect key="frame" x="103" y="42.5" width="273" height="24"/>
<rect key="frame" x="103" y="42" width="273" height="23.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="10"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
@ -155,13 +155,13 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOB000110" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2D3-BA-yV3">
<rect key="frame" x="16" y="36" width="109" height="29.5"/>
<rect key="frame" x="16" y="36" width="113.5" height="23.5"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="20"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0B9-0a-Jlt">
<rect key="frame" x="133" y="42.5" width="13" height="17"/>
<rect key="frame" x="137.5" y="39.5" width="13" height="17"/>
<constraints>
<constraint firstAttribute="width" constant="13" id="PY1-YE-0vx"/>
<constraint firstAttribute="height" constant="17" id="a2I-Sr-5OW"/>
@ -177,19 +177,19 @@
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="JPY 10,000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OeT-9p-3lL">
<rect key="frame" x="16" y="81.5" width="79" height="16"/>
<rect key="frame" x="16" y="75.5" width="82.5" height="19"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="16"/>
<color key="textColor" red="0.0" green="0.80000000000000004" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Available Balance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oy6-wk-dfr">
<rect key="frame" x="16" y="101.5" width="141" height="17"/>
<rect key="frame" x="16" y="98.5" width="134.5" height="20"/>
<fontDescription key="fontDescription" name="FONTSPRINGDEMO-VolteSemiboldRegular" family="FONTSPRING DEMO - Volte Semibold" pointSize="17"/>
<color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JYo-k5-OO8">
<rect key="frame" x="244" y="81.5" width="140" height="37"/>
<rect key="frame" x="244" y="75.5" width="140" height="43"/>
<color key="backgroundColor" red="0.0" green="0.80000000000000004" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="140" id="glh-UA-irf"/>

8
GME Remit/Modules/Home/User Interface/View/HomeViewController.swift

@ -66,7 +66,13 @@ class HomeViewController: UIViewController {
@IBOutlet weak var accountDetailView: UIView!
@IBOutlet weak var notificationItem: UIButton!
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var profileImage: UIImageView! {
didSet {
profileImage.clipsToBounds = true
profileImage.layer.cornerRadius = profileImage.frame.width/2
profileImage.sizeToFit()
}
}
@IBOutlet weak var userName: UILabel!
@IBOutlet weak var scrollView: UIScrollView!
// MARK: IBOutlets

30
GME Remit/Modules/RecipientModules/Recipients/User Interface/View/Recipients.storyboard

@ -309,24 +309,39 @@
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="My Transfers" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Iil-Y2-sNW">
<rect key="frame" x="20" y="20" width="99" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="HCb-HT-x2E"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<searchBar contentMode="redraw" searchBarStyle="minimal" placeholder="Search your transfers" translatesAutoresizingMaskIntoConstraints="NO" id="z8A-z6-Cj8">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QR1-jL-cRk">
<rect key="frame" x="8" y="60.5" width="359" height="56.5"/>
<textInputTraits key="textInputTraits"/>
</searchBar>
<subviews>
<searchBar contentMode="redraw" searchBarStyle="minimal" placeholder="Search your transfers" translatesAutoresizingMaskIntoConstraints="NO" id="z8A-z6-Cj8">
<rect key="frame" x="1" y="1" width="357" height="54.5"/>
<textInputTraits key="textInputTraits"/>
</searchBar>
</subviews>
<color key="backgroundColor" red="0.1803921568627451" green="0.53725490196078429" blue="1" alpha="0.23999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="z8A-z6-Cj8" secondAttribute="trailing" constant="1" id="4nV-hb-p9m"/>
<constraint firstAttribute="bottom" secondItem="z8A-z6-Cj8" secondAttribute="bottom" constant="1" id="Nix-Ao-x2p"/>
<constraint firstItem="z8A-z6-Cj8" firstAttribute="top" secondItem="QR1-jL-cRk" secondAttribute="top" constant="1" id="OSJ-yt-TER"/>
<constraint firstItem="z8A-z6-Cj8" firstAttribute="leading" secondItem="QR1-jL-cRk" secondAttribute="leading" constant="1" id="vxh-Cq-F2z"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" name="ThemeMainBackground"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="z8A-z6-Cj8" secondAttribute="bottom" constant="8" id="1VK-EE-XhN"/>
<constraint firstAttribute="trailing" secondItem="z8A-z6-Cj8" secondAttribute="trailing" constant="8" id="CFo-4I-nrE"/>
<constraint firstItem="QR1-jL-cRk" firstAttribute="top" secondItem="Iil-Y2-sNW" secondAttribute="bottom" constant="20" id="De4-De-sIU"/>
<constraint firstAttribute="trailing" secondItem="QR1-jL-cRk" secondAttribute="trailing" constant="8" id="DrD-Me-Z7z"/>
<constraint firstAttribute="height" constant="125" id="LGr-Sh-ej7"/>
<constraint firstItem="Iil-Y2-sNW" firstAttribute="leading" secondItem="Kly-ZR-KcE" secondAttribute="leading" constant="20" id="P4f-pC-nP1"/>
<constraint firstItem="z8A-z6-Cj8" firstAttribute="top" secondItem="Iil-Y2-sNW" secondAttribute="bottom" constant="20" id="TTm-kc-V6T"/>
<constraint firstItem="z8A-z6-Cj8" firstAttribute="leading" secondItem="Kly-ZR-KcE" secondAttribute="leading" constant="8" id="eI2-5R-78a"/>
<constraint firstItem="QR1-jL-cRk" firstAttribute="leading" secondItem="Kly-ZR-KcE" secondAttribute="leading" constant="8" id="R10-pa-3P2"/>
<constraint firstItem="Iil-Y2-sNW" firstAttribute="top" secondItem="Kly-ZR-KcE" secondAttribute="top" constant="20" id="fVv-hL-Ink"/>
<constraint firstAttribute="bottom" secondItem="QR1-jL-cRk" secondAttribute="bottom" constant="8" id="rkl-Pb-T0j"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4hS-d5-0mq">
@ -682,6 +697,7 @@
<connections>
<outlet property="collectionView" destination="h3h-DK-LWz" id="PD4-WF-SvF"/>
<outlet property="searchBar" destination="z8A-z6-Cj8" id="Qzl-dW-yyg"/>
<outlet property="searchView" destination="QR1-jL-cRk" id="h13-gf-8qv"/>
<outlet property="tableView" destination="fv4-Df-cKH" id="E3L-Is-Ylj"/>
<outlet property="tableViewHeightConstraints" destination="In6-dW-UpD" id="bVH-MN-g5Q"/>
</connections>

Loading…
Cancel
Save