Browse Source

outlets added

pull/1/head
gme_2 6 years ago
parent
commit
3761e7ff9d
  1. 25
      GMERemittance/Module/Register/User Interface/View/Register.storyboard
  2. 11
      GMERemittance/Module/Register/User Interface/View/RegisterViewController.swift

25
GMERemittance/Module/Register/User Interface/View/Register.storyboard

@ -16,9 +16,6 @@
<array key="SanFranciscoDisplay-Regular.otf">
<string>SanFranciscoDisplay-Regular</string>
</array>
<array key="SanFranciscoText-Regular.otf">
<string>SanFranciscoText-Regular</string>
</array>
</customFonts>
<scenes>
<!--Register-->
@ -98,7 +95,7 @@
<constraint firstAttribute="height" constant="43" id="CjB-7P-lLX"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
@ -136,7 +133,7 @@
<constraint firstAttribute="height" constant="43" id="v8S-IB-gIP"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="keyPath" value="YES"/>
@ -172,7 +169,7 @@
<constraint firstAttribute="height" constant="43" id="PaW-a8-N5z"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
</textField>
</subviews>
@ -202,7 +199,7 @@
</subviews>
</stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uDy-XD-Zh8">
<rect key="frame" x="96" y="398" width="189" height="24"/>
<rect key="frame" x="101" y="398" width="180" height="24"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Already have Account?" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T2p-yQ-5An">
<rect key="frame" x="4" y="2" width="136" height="20"/>
@ -211,11 +208,14 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QPQ-DX-Gea">
<rect key="frame" x="142" y="1" width="43" height="22"/>
<rect key="frame" x="142" y="1" width="34" height="22"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<state key="normal" title="Login">
<color key="titleColor" red="0.18039215689999999" green="0.19215686269999999" blue="0.57254901960000004" alpha="1" colorSpace="calibratedRGB"/>
</state>
<connections>
<action selector="login:" destination="HSb-ou-7T5" eventType="touchUpInside" id="x2s-dt-cf0"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@ -223,7 +223,6 @@
<constraint firstAttribute="bottom" secondItem="T2p-yQ-5An" secondAttribute="bottom" constant="2" id="75d-xQ-cjQ"/>
<constraint firstAttribute="trailing" secondItem="QPQ-DX-Gea" secondAttribute="trailing" constant="4" id="IOY-6S-NIe"/>
<constraint firstItem="T2p-yQ-5An" firstAttribute="leading" secondItem="uDy-XD-Zh8" secondAttribute="leading" constant="4" id="MM1-PO-E8d"/>
<constraint firstAttribute="width" constant="189" id="RLF-pq-C68"/>
<constraint firstItem="QPQ-DX-Gea" firstAttribute="top" secondItem="uDy-XD-Zh8" secondAttribute="top" constant="1" id="RLY-Cf-Ahf"/>
<constraint firstItem="QPQ-DX-Gea" firstAttribute="leading" secondItem="T2p-yQ-5An" secondAttribute="trailing" constant="2" id="WE2-XV-k39"/>
<constraint firstAttribute="bottom" secondItem="QPQ-DX-Gea" secondAttribute="bottom" constant="1" id="kzW-Uy-jVf"/>
@ -247,6 +246,9 @@
<integer key="value" value="25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="register:" destination="HSb-ou-7T5" eventType="touchUpInside" id="mqy-VU-vNC"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
@ -287,6 +289,11 @@
<constraint firstItem="not-sP-jex" firstAttribute="leading" secondItem="9Uc-9s-KgO" secondAttribute="leading" id="umP-3b-JdU"/>
</constraints>
</view>
<connections>
<outlet property="confirmPasswordTextfield" destination="tpF-H6-N6v" id="USd-4c-CxC"/>
<outlet property="emailTextField" destination="Uss-1a-WgB" id="ydw-Kw-qnw"/>
<outlet property="passwordTextField" destination="64u-wX-SQo" id="UiS-Nz-5PI"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>

11
GMERemittance/Module/Register/User Interface/View/RegisterViewController.swift

@ -12,6 +12,9 @@ class RegisterViewController: UIViewController {
// MARK: IBOutlets
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var passwordTextField: UITextField!
@IBOutlet weak var confirmPasswordTextfield: UITextField!
// MARK: Properties
@ -27,6 +30,14 @@ class RegisterViewController: UIViewController {
// MARK: IBActions
@IBAction func login(_ sender: UIButton) {
}
@IBAction func register(_ sender: UIButton) {
}
// MARK: Other Functions
private func setup() {

Loading…
Cancel
Save