Newer
Older
Meterage_iOS / Meterage / ViewControllers / Login / LoginViewController.xib
<?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="retina5_9" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
        <capability name="Named colors" minToolsVersion="9.0"/>
        <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>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="LoginViewController" customModule="Meterage" customModuleProvider="target">
            <connections>
                <outlet property="loginButton" destination="eGe-Nz-NPs" id="cLW-GH-5GG"/>
                <outlet property="passwordView" destination="aZs-jt-WyI" id="6Br-Br-3HM"/>
                <outlet property="textLabel" destination="HII-eR-WOz" id="iEJ-J4-cMC"/>
                <outlet property="userNameView" destination="Apb-sX-0c3" id="jJB-AW-2BQ"/>
                <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="812"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入账号" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Apb-sX-0c3">
                    <rect key="frame" x="59.666666666666657" y="389" width="255.99999999999997" height="34"/>
                    <constraints>
                        <constraint firstAttribute="width" constant="256" id="3jy-hT-paq"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
                    <textInputTraits key="textInputTraits"/>
                </textField>
                <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入密码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="aZs-jt-WyI">
                    <rect key="frame" x="59.666666666666657" y="443" width="255.99999999999997" height="34"/>
                    <constraints>
                        <constraint firstAttribute="width" constant="256" id="Hxk-7R-4zZ"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
                    <textInputTraits key="textInputTraits" secureTextEntry="YES"/>
                </textField>
                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="华东计量综合系统" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HII-eR-WOz">
                    <rect key="frame" x="98.333333333333329" y="255.00000000000003" width="178.33333333333337" height="26.333333333333343"/>
                    <fontDescription key="fontDescription" type="system" pointSize="22"/>
                    <color key="textColor" name="AccentColor"/>
                    <nil key="highlightedColor"/>
                </label>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eGe-Nz-NPs">
                    <rect key="frame" x="59.666666666666657" y="558" width="255.99999999999997" height="35"/>
                    <color key="backgroundColor" name="AccentColor"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="35" id="eH6-ab-gTV"/>
                        <constraint firstAttribute="width" constant="256" id="oKv-9f-E1r"/>
                    </constraints>
                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                    <state key="normal" title="登录">
                        <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                    </state>
                    <connections>
                        <action selector="loginAction:" destination="-1" eventType="touchUpInside" id="H0z-X8-AfG"/>
                    </connections>
                </button>
                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="splash_casic" translatesAutoresizingMaskIntoConstraints="NO" id="mpX-R4-ayt">
                    <rect key="frame" x="59.666666666666657" y="107" width="255.99999999999997" height="128"/>
                    <constraints>
                        <constraint firstAttribute="width" constant="256" id="X9O-0z-N6C"/>
                        <constraint firstAttribute="height" constant="128" id="yCR-aa-6IV"/>
                    </constraints>
                </imageView>
                <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1ee-b2-ON4">
                    <rect key="frame" x="59.666666666666657" y="487" width="255.99999999999997" height="20"/>
                    <subviews>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="忘记密码?" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vnR-Z5-VXd">
                            <rect key="frame" x="0.0" y="0.0" width="71.666666666666671" height="20"/>
                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
                            <color key="textColor" systemColor="systemRedColor"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yiB-O6-PCk">
                            <rect key="frame" x="71.666666666666686" y="0.0" width="127" height="20"/>
                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                        </view>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="用户注册" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cmh-8Q-yZM">
                            <rect key="frame" x="198.66666666666666" y="0.0" width="57.333333333333343" height="20"/>
                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
                            <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                            <nil key="highlightedColor"/>
                        </label>
                    </subviews>
                    <constraints>
                        <constraint firstAttribute="width" constant="256" id="3Oz-2c-y7J"/>
                        <constraint firstAttribute="trailing" secondItem="cmh-8Q-yZM" secondAttribute="trailing" id="FO5-NG-08g"/>
                        <constraint firstItem="cmh-8Q-yZM" firstAttribute="centerY" secondItem="1ee-b2-ON4" secondAttribute="centerY" id="WXG-tJ-xKh"/>
                        <constraint firstItem="vnR-Z5-VXd" firstAttribute="centerY" secondItem="1ee-b2-ON4" secondAttribute="centerY" id="mxP-b7-HA5"/>
                        <constraint firstAttribute="height" constant="20" id="vRv-VJ-9zI"/>
                    </constraints>
                </stackView>
            </subviews>
            <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstItem="HII-eR-WOz" firstAttribute="top" secondItem="mpX-R4-ayt" secondAttribute="bottom" constant="20" id="1Fz-kd-jCQ"/>
                <constraint firstItem="mpX-R4-ayt" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="5eB-98-jFu"/>
                <constraint firstItem="Apb-sX-0c3" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="6m3-DB-oFh"/>
                <constraint firstItem="1ee-b2-ON4" firstAttribute="top" secondItem="aZs-jt-WyI" secondAttribute="bottom" constant="10" id="9t8-aA-ZoR"/>
                <constraint firstItem="HII-eR-WOz" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Aew-Zw-b4Q"/>
                <constraint firstItem="aZs-jt-WyI" firstAttribute="top" secondItem="Apb-sX-0c3" secondAttribute="bottom" constant="20" id="Vwv-EW-9UV"/>
                <constraint firstItem="mpX-R4-ayt" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="60" id="ZSe-5h-XbR"/>
                <constraint firstItem="aZs-jt-WyI" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="cRS-Kt-TJz"/>
                <constraint firstItem="1ee-b2-ON4" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="ga7-G6-Fcd"/>
                <constraint firstItem="Apb-sX-0c3" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="hx7-p4-Mol"/>
                <constraint firstItem="eGe-Nz-NPs" firstAttribute="top" secondItem="Apb-sX-0c3" secondAttribute="bottom" constant="135" id="svX-UK-RhW"/>
                <constraint firstItem="eGe-Nz-NPs" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="yBO-sk-8Xo"/>
            </constraints>
            <point key="canvasLocation" x="130.40000000000001" y="-12.561576354679804"/>
        </view>
    </objects>
    <resources>
        <image name="splash_casic" width="90.666664123535156" height="62.666667938232422"/>
        <namedColor name="AccentColor">
            <color red="0.0" green="0.46000000000000002" blue="0.89000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
        </namedColor>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
        <systemColor name="systemRedColor">
            <color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
        </systemColor>
    </resources>
</document>