Dibya Malla
3 years ago
5 changed files with 227 additions and 16 deletions
-
14GME Remit.xcodeproj/project.pbxproj
-
4GME Remit/Modules/SideMenu/SettingViewController.swift
-
28GME Remit/Utilities/CustomUI/ConfirmAlert/ConfirmViewController.xib
-
10GME Remit/Utilities/CustomUI/PasswordConfirm/PasswordConfirmViewController.swift
-
187GME Remit/Utilities/CustomUI/PasswordConfirm/PasswordConfirmViewController.xib
@ -0,0 +1,10 @@ |
|||
// |
|||
// PasswordConfirmViewController.swift |
|||
// GME Remit |
|||
// |
|||
// Created by Swift Tech on 31/10/2021. |
|||
// Copyright © 2021 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
@ -0,0 +1,187 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> |
|||
<device id="retina4_7" orientation="portrait" appearance="light"/> |
|||
<dependencies> |
|||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/> |
|||
<capability name="Named colors" minToolsVersion="9.0"/> |
|||
<capability name="Safe area layout guides" minToolsVersion="9.0"/> |
|||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
|||
</dependencies> |
|||
<customFonts key="customFonts"> |
|||
<array key="SanFranciscoDisplay-Medium.otf"> |
|||
<string>SanFranciscoDisplay-Medium</string> |
|||
</array> |
|||
</customFonts> |
|||
<objects> |
|||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ConfirmViewController" customModule="JME_Remit" customModuleProvider="target"> |
|||
<connections> |
|||
<outlet property="cancelButton" destination="HNX-GD-MMn" id="YOn-OI-v9c"/> |
|||
<outlet property="confirmButton" destination="mNW-zc-IvE" id="jPi-Og-Fdj"/> |
|||
<outlet property="mainView" destination="4QK-EJ-W5i" id="AfS-fO-E1H"/> |
|||
<outlet property="titleLabel" destination="rKz-Y8-Hfa" id="6sS-Vs-FnN"/> |
|||
<outlet property="transparentView" destination="yZU-8U-DMR" id="wLy-8k-Io8"/> |
|||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> |
|||
</connections> |
|||
</placeholder> |
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> |
|||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yZU-8U-DMR" userLabel="BackgroundView"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<subviews> |
|||
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4QK-EJ-W5i"> |
|||
<rect key="frame" x="0.0" y="408" width="375" height="259"/> |
|||
<subviews> |
|||
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gqp-C5-0ib" userLabel="Title"> |
|||
<rect key="frame" x="0.0" y="5" width="375" height="44"/> |
|||
<subviews> |
|||
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HNX-GD-MMn"> |
|||
<rect key="frame" x="331" y="0.0" width="44" height="44"/> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="44" id="JJv-pX-wTJ"/> |
|||
<constraint firstAttribute="height" constant="44" id="gcG-GY-RID"/> |
|||
</constraints> |
|||
<color key="tintColor" name="ThemeBlack"/> |
|||
<state key="normal" image="ic_cancel"> |
|||
<color key="titleColor" name="ThemeBlack"/> |
|||
</state> |
|||
<connections> |
|||
<action selector="touchCancel:" destination="-1" eventType="touchUpInside" id="sJA-Fj-Z6F"/> |
|||
</connections> |
|||
</button> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Confirm Password" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rKz-Y8-Hfa"> |
|||
<rect key="frame" x="20" y="0.0" width="197" height="44"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="44" id="zcz-WB-ZLK"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="20"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
</subviews> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="rKz-Y8-Hfa" firstAttribute="top" relation="greaterThanOrEqual" secondItem="gqp-C5-0ib" secondAttribute="top" id="82Q-cI-W39"/> |
|||
<constraint firstItem="rKz-Y8-Hfa" firstAttribute="centerY" secondItem="gqp-C5-0ib" secondAttribute="centerY" id="Fbb-7E-AU3"/> |
|||
<constraint firstItem="rKz-Y8-Hfa" firstAttribute="leading" secondItem="gqp-C5-0ib" secondAttribute="leading" constant="20" id="HtT-t9-TUb"/> |
|||
<constraint firstItem="HNX-GD-MMn" firstAttribute="leading" secondItem="rKz-Y8-Hfa" secondAttribute="trailing" constant="114" id="SPe-qW-eZk"/> |
|||
<constraint firstAttribute="trailing" secondItem="HNX-GD-MMn" secondAttribute="trailing" id="cEZ-kO-pxa"/> |
|||
<constraint firstAttribute="bottom" secondItem="HNX-GD-MMn" secondAttribute="bottom" id="iez-Hb-49A"/> |
|||
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="rKz-Y8-Hfa" secondAttribute="bottom" id="pwD-3R-kD6"/> |
|||
<constraint firstItem="HNX-GD-MMn" firstAttribute="top" secondItem="gqp-C5-0ib" secondAttribute="top" id="qG5-y2-fez"/> |
|||
</constraints> |
|||
</view> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h9a-Vh-zMZ" userLabel="Content"> |
|||
<rect key="frame" x="10" y="54" width="355" height="150"/> |
|||
<subviews> |
|||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ZJC-ch-V2b"> |
|||
<rect key="frame" x="10" y="50" width="335" height="50"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="50" id="sdf-A9-5zQ"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" type="system" pointSize="14"/> |
|||
<textInputTraits key="textInputTraits"/> |
|||
</textField> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enter your password to setup fingerprint" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J4i-tC-eaj"> |
|||
<rect key="frame" x="10" y="0.0" width="335" height="17"/> |
|||
<fontDescription key="fontDescription" type="system" pointSize="14"/> |
|||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Show" translatesAutoresizingMaskIntoConstraints="NO" id="e7s-CH-8rc"> |
|||
<rect key="frame" x="315" y="50" width="20" height="50"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="20" id="BST-xO-x4e"/> |
|||
</constraints> |
|||
</imageView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="ZJC-ch-V2b" firstAttribute="leading" secondItem="h9a-Vh-zMZ" secondAttribute="leading" constant="10" id="0iS-6x-KUH"/> |
|||
<constraint firstAttribute="trailing" secondItem="J4i-tC-eaj" secondAttribute="trailing" constant="10" id="310-4F-eHM"/> |
|||
<constraint firstItem="J4i-tC-eaj" firstAttribute="leading" secondItem="h9a-Vh-zMZ" secondAttribute="leading" constant="10" id="4i0-pW-jI8"/> |
|||
<constraint firstItem="e7s-CH-8rc" firstAttribute="bottom" secondItem="ZJC-ch-V2b" secondAttribute="bottom" id="8Dx-HR-E2j"/> |
|||
<constraint firstItem="J4i-tC-eaj" firstAttribute="top" secondItem="h9a-Vh-zMZ" secondAttribute="top" id="Ttk-dC-qEU"/> |
|||
<constraint firstItem="e7s-CH-8rc" firstAttribute="top" secondItem="ZJC-ch-V2b" secondAttribute="top" id="Wz2-B7-Il5"/> |
|||
<constraint firstItem="e7s-CH-8rc" firstAttribute="trailing" secondItem="ZJC-ch-V2b" secondAttribute="trailing" constant="-10" id="Y2n-ah-6XX"/> |
|||
<constraint firstAttribute="trailing" secondItem="ZJC-ch-V2b" secondAttribute="trailing" constant="10" id="l7z-vj-ixp"/> |
|||
<constraint firstItem="ZJC-ch-V2b" firstAttribute="centerY" secondItem="h9a-Vh-zMZ" secondAttribute="centerY" id="oMt-TE-qHE"/> |
|||
<constraint firstAttribute="height" constant="150" id="qs1-o2-MeE"/> |
|||
</constraints> |
|||
</view> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="muo-Bg-1vO"> |
|||
<rect key="frame" x="0.0" y="209" width="375" height="50"/> |
|||
<subviews> |
|||
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mNW-zc-IvE"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
|||
<color key="backgroundColor" name="ThemeRed"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="50" id="Ui7-Wd-gqu"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="17"/> |
|||
<color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<state key="normal" title="Confirm"> |
|||
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
</state> |
|||
<connections> |
|||
<action selector="touchConfirm:" destination="-1" eventType="touchUpInside" id="Jll-q3-zR2"/> |
|||
</connections> |
|||
</button> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" name="ThemeMainBackground"/> |
|||
<constraints> |
|||
<constraint firstItem="h9a-Vh-zMZ" firstAttribute="top" secondItem="gqp-C5-0ib" secondAttribute="bottom" constant="5" id="0MI-9l-RrP"/> |
|||
<constraint firstItem="muo-Bg-1vO" firstAttribute="leading" secondItem="4QK-EJ-W5i" secondAttribute="leading" id="0Q5-eh-W6s"/> |
|||
<constraint firstItem="gqp-C5-0ib" firstAttribute="leading" secondItem="4QK-EJ-W5i" secondAttribute="leading" id="8vZ-BZ-0zF"/> |
|||
<constraint firstItem="h9a-Vh-zMZ" firstAttribute="top" secondItem="gqp-C5-0ib" secondAttribute="bottom" constant="5" id="Mrk-xg-464"/> |
|||
<constraint firstAttribute="bottom" secondItem="muo-Bg-1vO" secondAttribute="bottom" id="OWs-00-BQa"/> |
|||
<constraint firstAttribute="trailing" secondItem="gqp-C5-0ib" secondAttribute="trailing" id="Prx-jA-5nD"/> |
|||
<constraint firstItem="h9a-Vh-zMZ" firstAttribute="leading" secondItem="4QK-EJ-W5i" secondAttribute="leading" constant="10" id="cAp-az-sPq"/> |
|||
<constraint firstAttribute="trailing" secondItem="muo-Bg-1vO" secondAttribute="trailing" id="hau-qt-ucq"/> |
|||
<constraint firstItem="gqp-C5-0ib" firstAttribute="top" secondItem="4QK-EJ-W5i" secondAttribute="top" constant="5" id="iL1-sj-Gct"/> |
|||
<constraint firstAttribute="trailing" secondItem="h9a-Vh-zMZ" secondAttribute="trailing" constant="10" id="jmy-sl-K7p"/> |
|||
<constraint firstItem="muo-Bg-1vO" firstAttribute="top" secondItem="h9a-Vh-zMZ" secondAttribute="bottom" constant="5" id="kaM-8T-Hce"/> |
|||
<constraint firstItem="h9a-Vh-zMZ" firstAttribute="top" secondItem="gqp-C5-0ib" secondAttribute="bottom" constant="5" id="l20-h4-ROH"/> |
|||
<constraint firstItem="h9a-Vh-zMZ" firstAttribute="leading" secondItem="4QK-EJ-W5i" secondAttribute="leading" constant="10" id="lKD-aS-OOO"/> |
|||
<constraint firstAttribute="trailing" secondItem="h9a-Vh-zMZ" secondAttribute="trailing" constant="10" id="rRw-Ki-9hD"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<color key="backgroundColor" white="0.0" alpha="0.70387414383561642" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<gestureRecognizers/> |
|||
<constraints> |
|||
<constraint firstItem="4QK-EJ-W5i" firstAttribute="leading" secondItem="yZU-8U-DMR" secondAttribute="leading" id="0OR-xW-43V"/> |
|||
<constraint firstAttribute="bottom" secondItem="4QK-EJ-W5i" secondAttribute="bottom" id="NSZ-NH-Nvy"/> |
|||
<constraint firstAttribute="trailing" secondItem="4QK-EJ-W5i" secondAttribute="trailing" id="xKa-ma-w96"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="yZU-8U-DMR" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="7bh-iN-Chg"/> |
|||
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="yZU-8U-DMR" secondAttribute="bottom" id="DCO-il-uXf"/> |
|||
<constraint firstAttribute="trailing" secondItem="yZU-8U-DMR" secondAttribute="trailing" id="IMt-lJ-xIu"/> |
|||
<constraint firstItem="yZU-8U-DMR" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="MDJ-di-skG"/> |
|||
</constraints> |
|||
<point key="canvasLocation" x="138.40000000000001" y="152.47376311844079"/> |
|||
</view> |
|||
</objects> |
|||
<resources> |
|||
<image name="Show" width="20" height="14"/> |
|||
<image name="ic_cancel" width="12" height="12"/> |
|||
<namedColor name="ThemeBlack"> |
|||
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
</namedColor> |
|||
<namedColor name="ThemeMainBackground"> |
|||
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</namedColor> |
|||
<namedColor name="ThemeRed"> |
|||
<color red="0.86274509803921573" green="0.078431372549019607" blue="0.19215686274509805" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</namedColor> |
|||
</resources> |
|||
</document> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue