Browse Source

Fixed UI

pull/1/head
InKwon James Kim 5 years ago
parent
commit
bbd694dbd9
  1. 25
      GME Remit/Extensions/UILabel+Ext.swift
  2. 111
      GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreement.storyboard
  3. 5
      GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift

25
GME Remit/Extensions/UILabel+Ext.swift

@ -13,4 +13,29 @@ extension UILabel {
minimumScaleFactor = scale
adjustsFontSizeToFitWidth = boolean
}
func setLineSpacing(lineSpacing: CGFloat = 0.0, lineHeightMultiple: CGFloat = 0.0) {
guard let labelText = self.text else { return }
let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineSpacing = lineSpacing
paragraphStyle.lineHeightMultiple = lineHeightMultiple
let attributedString:NSMutableAttributedString
if let labelattributedText = self.attributedText {
attributedString = NSMutableAttributedString(attributedString: labelattributedText)
} else {
attributedString = NSMutableAttributedString(string: labelText)
}
attributedString.addAttribute(
NSAttributedString.Key.paragraphStyle,
value:paragraphStyle,
range: NSMakeRange(0, attributedString.length)
)
self.attributedText = attributedString
}
}

111
GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreement.storyboard

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ytk-Td-pWB">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<device id="retina6_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
@ -25,52 +25,53 @@
<objects>
<viewController storyboardIdentifier="ManageAgreementViewController" title="ManageAgreement" id="HSb-ou-7T5" customClass="ManageAgreementViewController" customModule="GME_Remit" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="9Uc-9s-KgO">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="k6F-HO-4uc">
<rect key="frame" x="0.0" y="44" width="375" height="553"/>
<rect key="frame" x="0.0" y="88" width="414" height="704"/>
<subviews>
<view contentMode="scaleToFill" placeholderIntrinsicWidth="414" placeholderIntrinsicHeight="632" translatesAutoresizingMaskIntoConstraints="NO" id="Gls-6d-Qv3">
<rect key="frame" x="0.0" y="0.0" width="375" height="632"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gls-6d-Qv3">
<rect key="frame" x="0.0" y="0.0" width="414" height="704"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="25" translatesAutoresizingMaskIntoConstraints="NO" id="bIZ-o2-16W">
<rect key="frame" x="20" y="20" width="335" height="180.5"/>
<rect key="frame" x="20" y="20" width="374" height="150"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="이용약관에 동의해 주세요." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zKP-oe-ean">
<rect key="frame" x="0.0" y="0.0" width="335" height="26.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="이용약관에 동의해 주세요." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zKP-oe-ean">
<rect key="frame" x="0.0" y="0.0" width="374" height="25.666666666666668"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="22"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W1Q-CZ-5Ed">
<rect key="frame" x="0.0" y="51.5" width="335" height="129"/>
<rect key="frame" x="0.0" y="50.66666666666665" width="374" height="99.333333333333314"/>
<color key="tintColor" name="ThemeText"/>
<string key="text">GME의 해외 송금 및 국내 송금 등의 서비스를 원활하게 이용하기 위하여 고객님의 계좌에 대한 출금이체 동의가 필요합니다. 해외 송금, 국내 송금 등의 서비스 이용시 출금에 동의 하신 계좌에서 오픈뱅킹 또는 펌뱅킹을 통하여 출금이체가 진행됩니다.</string>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="18"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="b6Z-oJ-1E2">
<rect key="frame" x="20" y="346" width="335" height="266"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="b6Z-oJ-1E2">
<rect key="frame" x="20" y="424" width="374" height="260"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="LbI-HS-uZ1">
<rect key="frame" x="0.0" y="0.0" width="335" height="35"/>
<rect key="frame" x="0.0" y="0.0" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="r1f-Zw-DVm">
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BTl-c9-lv6" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="9Da-EI-wqr"/>
<constraint firstAttribute="width" constant="25" id="HTp-ni-gmm"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="BTl-c9-lv6" secondAttribute="bottom" constant="5" id="MF9-Ep-rgX"/>
<constraint firstItem="BTl-c9-lv6" firstAttribute="top" secondItem="r1f-Zw-DVm" secondAttribute="top" constant="5" id="RRb-bV-B8z"/>
@ -79,13 +80,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="개인정보 처리 방침" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wHw-tD-Mwe">
<rect key="frame" x="43" y="7.5" width="254" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="heh-Y7-dXX">
<rect key="frame" x="305" y="0.0" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="MGo-D3-dNc"/>
</constraints>
@ -98,23 +99,26 @@
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="35" id="KbM-rX-Qv6"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="8dQ-et-kfP">
<rect key="frame" x="0.0" y="45" width="335" height="35"/>
<rect key="frame" x="0.0" y="45" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pJc-VR-rn9">
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="opu-BS-I6h" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="9ah-8a-Hx5"/>
<constraint firstAttribute="height" constant="25" id="mo2-yb-72x"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="opu-BS-I6h" secondAttribute="trailing" constant="5" id="2GG-mo-Xzv"/>
<constraint firstItem="opu-BS-I6h" firstAttribute="leading" secondItem="pJc-VR-rn9" secondAttribute="leading" constant="5" id="DlV-c7-D6H"/>
@ -123,13 +127,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="개인정보 수집 및 이용 동의" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PC1-cn-KOb">
<rect key="frame" x="43" y="7.5" width="254" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eZl-7D-XQW">
<rect key="frame" x="305" y="0.0" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="Hqq-z5-JS0"/>
</constraints>
@ -141,21 +145,21 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="frF-Zt-EZ2">
<rect key="frame" x="0.0" y="90" width="335" height="41"/>
<rect key="frame" x="0.0" y="90" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0SP-YH-gKf">
<rect key="frame" x="0.0" y="3" width="35" height="35"/>
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LDw-i1-qz8" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="6qV-lu-sMy"/>
<constraint firstAttribute="height" constant="25" id="ukP-HU-ipi"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="LDw-i1-qz8" secondAttribute="bottom" constant="5" id="R3F-ib-UFh"/>
<constraint firstAttribute="trailing" secondItem="LDw-i1-qz8" secondAttribute="trailing" constant="5" id="W9i-sN-Kmu"/>
@ -164,13 +168,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="불법 탈법 차명거래 금지 실명 확인 동의" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ar6-Oi-V5q">
<rect key="frame" x="43" y="0.0" width="254" height="41"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="T4n-S9-Je6">
<rect key="frame" x="305" y="3" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="PMw-tw-Bqe"/>
</constraints>
@ -182,21 +186,21 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="ePp-Iu-rjC">
<rect key="frame" x="0.0" y="141" width="335" height="35"/>
<rect key="frame" x="0.0" y="135" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pRX-Wk-M28">
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aBP-xj-gh8" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="4ie-fp-uV9"/>
<constraint firstAttribute="width" constant="25" id="rFg-Vv-TvI"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="aBP-xj-gh8" firstAttribute="leading" secondItem="pRX-Wk-M28" secondAttribute="leading" constant="5" id="Chz-Dl-vXb"/>
<constraint firstItem="aBP-xj-gh8" firstAttribute="top" secondItem="pRX-Wk-M28" secondAttribute="top" constant="5" id="czD-zz-EK2"/>
@ -205,13 +209,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="소액해외 송금서비스 이용약관" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pgj-on-l2H">
<rect key="frame" x="43" y="7.5" width="254" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Msp-og-D87">
<rect key="frame" x="305" y="0.0" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="UyP-hi-iXM"/>
</constraints>
@ -223,21 +227,21 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="kj9-QZ-wUB">
<rect key="frame" x="0.0" y="186" width="335" height="35"/>
<rect key="frame" x="0.0" y="180" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iko-vS-pup">
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e6s-s2-H4P" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="CHx-an-PkB"/>
<constraint firstAttribute="height" constant="25" id="FKO-sf-wgi"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="e6s-s2-H4P" firstAttribute="top" secondItem="iko-vS-pup" secondAttribute="top" constant="5" id="USf-UM-Bff"/>
<constraint firstItem="e6s-s2-H4P" firstAttribute="leading" secondItem="iko-vS-pup" secondAttribute="leading" constant="5" id="Wgi-DT-AYK"/>
@ -246,13 +250,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="오픈뱅킹서비스 이용약관" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VKq-wY-9dy">
<rect key="frame" x="43" y="7.5" width="254" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pu2-WS-Npu">
<rect key="frame" x="305" y="0.0" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="Ep5-s5-mVE"/>
</constraints>
@ -264,21 +268,21 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="dpS-Y8-LRd">
<rect key="frame" x="0.0" y="231" width="335" height="35"/>
<rect key="frame" x="0.0" y="225" width="374" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jlh-Gr-hgV">
<rect key="frame" x="0.0" y="0.0" width="35" height="35"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lwr-2h-qVb" customClass="CheckBox" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="5" y="5" width="25" height="25"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="BbW-mG-w9b"/>
<constraint firstAttribute="width" constant="25" id="cfs-Ch-2Zb"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="lwr-2h-qVb" firstAttribute="top" secondItem="jlh-Gr-hgV" secondAttribute="top" constant="5" id="RpG-Ge-Bl4"/>
<constraint firstAttribute="bottom" secondItem="lwr-2h-qVb" secondAttribute="bottom" constant="5" id="YvW-oI-iwN"/>
@ -287,13 +291,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="전자금융거래 이용약관" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uqb-BL-g4N">
<rect key="frame" x="43" y="7.5" width="254" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<rect key="frame" x="43" y="8.6666666666666305" width="293" height="17.666666666666671"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gKG-z6-fTm">
<rect key="frame" x="305" y="0.0" width="30" height="35"/>
<rect key="frame" x="344" y="0.0" width="30" height="35"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="qCk-dv-mmR"/>
</constraints>
@ -309,7 +313,7 @@
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="b6Z-oJ-1E2" firstAttribute="top" relation="greaterThanOrEqual" secondItem="bIZ-o2-16W" secondAttribute="bottom" constant="80" id="Gxd-Ec-zuf"/>
<constraint firstItem="b6Z-oJ-1E2" firstAttribute="top" relation="greaterThanOrEqual" secondItem="bIZ-o2-16W" secondAttribute="bottom" constant="100" id="Gxd-Ec-zuf"/>
<constraint firstItem="b6Z-oJ-1E2" firstAttribute="leading" secondItem="Gls-6d-Qv3" secondAttribute="leading" constant="20" id="Ocb-im-wce"/>
<constraint firstAttribute="trailing" secondItem="b6Z-oJ-1E2" secondAttribute="trailing" constant="20" id="OmL-0i-mQ9"/>
<constraint firstAttribute="bottom" secondItem="b6Z-oJ-1E2" secondAttribute="bottom" constant="20" id="ZmN-fE-BR2"/>
@ -322,13 +326,14 @@
<constraints>
<constraint firstItem="Gls-6d-Qv3" firstAttribute="top" secondItem="k6F-HO-4uc" secondAttribute="top" id="5hc-Vj-mZC"/>
<constraint firstAttribute="bottom" secondItem="Gls-6d-Qv3" secondAttribute="bottom" id="8M1-GW-217"/>
<constraint firstItem="Gls-6d-Qv3" firstAttribute="height" secondItem="k6F-HO-4uc" secondAttribute="height" priority="250" id="Dfc-jt-Sd2"/>
<constraint firstAttribute="trailing" secondItem="Gls-6d-Qv3" secondAttribute="trailing" id="Jt7-lh-UWI"/>
<constraint firstItem="Gls-6d-Qv3" firstAttribute="leading" secondItem="k6F-HO-4uc" secondAttribute="leading" id="UBK-7W-oBD"/>
<constraint firstItem="Gls-6d-Qv3" firstAttribute="width" secondItem="k6F-HO-4uc" secondAttribute="width" id="uqy-py-3Uf"/>
</constraints>
</scrollView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YxY-tL-LNp">
<rect key="frame" x="10" y="607" width="355" height="50"/>
<rect key="frame" x="10" y="802" width="394" height="50"/>
<color key="backgroundColor" name="ThemeRed"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="ovz-hv-tiz"/>
@ -360,6 +365,8 @@
<outlet property="checkBox4" destination="aBP-xj-gh8" id="fEr-zm-ibT"/>
<outlet property="checkBox5" destination="e6s-s2-H4P" id="PJl-a9-tvn"/>
<outlet property="checkBox6" destination="lwr-2h-qVb" id="cJz-xm-YaX"/>
<outlet property="infoLabel" destination="W1Q-CZ-5Ed" id="F9q-tQ-JK1"/>
<outlet property="titleLabel" destination="zKP-oe-ean" id="jJx-Vy-s2w"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>
@ -372,7 +379,7 @@
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="ytk-Td-pWB" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="3Rq-r7-gWU">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<rect key="frame" x="0.0" y="44" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>

5
GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift

@ -29,6 +29,9 @@ class ManageAgreementViewController: UIViewController {
@IBOutlet private weak var checkBox5: CheckBox!
@IBOutlet private weak var checkBox6: CheckBox!
@IBOutlet private weak var titleLabel: UILabel!
@IBOutlet private weak var infoLabel: UILabel!
// MARK: VC's Life cycle
override func viewDidLoad() {
super.viewDidLoad()
@ -83,6 +86,8 @@ extension ManageAgreementViewController {
private func setUI() {
agreeButton.layer.cornerRadius = 5
infoLabel.setLineSpacing(lineSpacing: 5)
}
private func setUIBinding() {

Loading…
Cancel
Save