| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
- <device id="retina6_1" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
- <capability name="Safe area layout guides" minToolsVersion="9.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="SettingsViewController">
- <connections>
- <outlet property="avatar" destination="dUq-gP-64y" id="eL7-Im-tpA"/>
- <outlet property="btnLogout" destination="VEr-gX-5S1" id="wZO-GK-Raw"/>
- <outlet property="nickname" destination="CdQ-xL-QSq" id="Y1d-Nc-qov"/>
- <outlet property="phone" destination="rXA-ab-vWB" id="Uvv-Mm-SVO"/>
- <outlet property="section1" destination="jZG-2v-ye3" id="udr-P8-8ZX"/>
- <outlet property="section2" destination="RMh-Hq-xqF" id="jjG-Q0-IIP"/>
- <outlet property="section3" destination="WGd-sn-FZj" id="Uzp-oV-D4f"/>
- <outlet property="switchNotification" destination="arU-7a-FJS" id="JoJ-6l-2vy"/>
- <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="414" height="896"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jZG-2v-ye3">
- <rect key="frame" x="20" y="54" width="374" height="120"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b83-1a-GQI" customClass="SettingsItemView">
- <rect key="frame" x="0.0" y="0.0" width="374" height="60"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <gestureRecognizers/>
- <constraints>
- <constraint firstAttribute="height" constant="60" id="tPr-Z4-xsG"/>
- </constraints>
- <connections>
- <outletCollection property="gestureRecognizers" destination="u3x-PK-78m" appends="YES" id="H1Y-uT-abe"/>
- </connections>
- </view>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="default_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="dUq-gP-64y">
- <rect key="frame" x="302" y="12" width="36" height="36"/>
- <constraints>
- <constraint firstAttribute="width" constant="36" id="SJn-k6-fCr"/>
- <constraint firstAttribute="height" constant="36" id="UyP-SC-QhK"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="18"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </imageView>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="W3I-FL-m9s" customClass="SettingsItemView">
- <rect key="frame" x="0.0" y="60" width="374" height="60"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <gestureRecognizers/>
- <constraints>
- <constraint firstAttribute="height" constant="60" id="jg3-BL-ZBq"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="string" keyPath="label" value="昵称"/>
- <userDefinedRuntimeAttribute type="boolean" keyPath="showLine" value="NO"/>
- </userDefinedRuntimeAttributes>
- <connections>
- <outletCollection property="gestureRecognizers" destination="vEd-rP-LuJ" appends="YES" id="iiq-ab-goD"/>
- </connections>
- </view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CdQ-xL-QSq">
- <rect key="frame" x="338" y="90" width="0.0" height="0.0"/>
- <fontDescription key="fontDescription" type="system" pointSize="16"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="b83-1a-GQI" firstAttribute="leading" secondItem="jZG-2v-ye3" secondAttribute="leading" id="20p-Vw-Luy"/>
- <constraint firstItem="b83-1a-GQI" firstAttribute="top" secondItem="jZG-2v-ye3" secondAttribute="top" id="9ee-F7-V2I"/>
- <constraint firstItem="W3I-FL-m9s" firstAttribute="top" secondItem="b83-1a-GQI" secondAttribute="bottom" id="AO5-Ot-bOp"/>
- <constraint firstAttribute="trailing" secondItem="b83-1a-GQI" secondAttribute="trailing" id="E0v-hB-1ad"/>
- <constraint firstItem="dUq-gP-64y" firstAttribute="trailing" secondItem="b83-1a-GQI" secondAttribute="trailing" constant="-36" id="GKL-QH-wBa"/>
- <constraint firstItem="CdQ-xL-QSq" firstAttribute="trailing" secondItem="W3I-FL-m9s" secondAttribute="trailing" constant="-36" id="HfI-NC-KIu"/>
- <constraint firstAttribute="height" constant="120" id="c9f-Ql-cQL"/>
- <constraint firstItem="dUq-gP-64y" firstAttribute="centerY" secondItem="b83-1a-GQI" secondAttribute="centerY" id="kuJ-BL-DZW"/>
- <constraint firstAttribute="trailing" secondItem="W3I-FL-m9s" secondAttribute="trailing" id="mn8-WD-mDw"/>
- <constraint firstItem="W3I-FL-m9s" firstAttribute="leading" secondItem="jZG-2v-ye3" secondAttribute="leading" id="qey-uV-Kme"/>
- <constraint firstItem="CdQ-xL-QSq" firstAttribute="centerY" secondItem="W3I-FL-m9s" secondAttribute="centerY" id="vLz-nC-YfM"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RMh-Hq-xqF">
- <rect key="frame" x="20" y="189" width="374" height="60"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rt3-H0-yo0" customClass="SettingsItemView">
- <rect key="frame" x="0.0" y="0.0" width="374" height="60"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="boolean" keyPath="showLine" value="NO"/>
- <userDefinedRuntimeAttribute type="string" keyPath="label" value="手机"/>
- </userDefinedRuntimeAttributes>
- </view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rXA-ab-vWB">
- <rect key="frame" x="338" y="30" width="0.0" height="0.0"/>
- <fontDescription key="fontDescription" type="system" pointSize="16"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="rXA-ab-vWB" firstAttribute="centerY" secondItem="rt3-H0-yo0" secondAttribute="centerY" id="aDz-s5-OkC"/>
- <constraint firstAttribute="height" constant="60" id="bjo-P3-jsu"/>
- <constraint firstItem="rt3-H0-yo0" firstAttribute="leading" secondItem="RMh-Hq-xqF" secondAttribute="leading" id="e5p-aM-7dd"/>
- <constraint firstAttribute="bottom" secondItem="rt3-H0-yo0" secondAttribute="bottom" id="gfj-oZ-MvR"/>
- <constraint firstAttribute="trailing" secondItem="rt3-H0-yo0" secondAttribute="trailing" id="hn5-5G-7YN"/>
- <constraint firstItem="rXA-ab-vWB" firstAttribute="trailing" secondItem="rt3-H0-yo0" secondAttribute="trailing" constant="-36" id="hy2-SZ-1bG"/>
- <constraint firstItem="rt3-H0-yo0" firstAttribute="top" secondItem="RMh-Hq-xqF" secondAttribute="top" id="xYN-I9-tSx"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VEr-gX-5S1">
- <rect key="frame" x="20" y="803" width="374" height="44"/>
- <color key="backgroundColor" red="1" green="0.25098039215686274" blue="0.58431372549019611" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="44" id="Dsj-f8-eRg"/>
- </constraints>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
- <state key="normal" title="退出登录">
- <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </state>
- <connections>
- <action selector="logout:" destination="-1" eventType="touchUpInside" id="deU-6W-jnz"/>
- </connections>
- </button>
- <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WGd-sn-FZj">
- <rect key="frame" x="20" y="264" width="374" height="60"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="是否接受消息提示" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d90-Vj-Yhb">
- <rect key="frame" x="15" y="21.5" width="114.5" height="17"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="arU-7a-FJS">
- <rect key="frame" x="310" y="14.5" width="51" height="31"/>
- <color key="onTintColor" red="1" green="0.25098039220000001" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
- <connections>
- <action selector="receiveNotificationChanged:" destination="-1" eventType="valueChanged" id="HV9-Tz-rlb"/>
- </connections>
- </switch>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="arU-7a-FJS" firstAttribute="centerY" secondItem="WGd-sn-FZj" secondAttribute="centerY" id="2il-Ep-041"/>
- <constraint firstAttribute="trailing" secondItem="arU-7a-FJS" secondAttribute="trailing" constant="15" id="80d-sK-3qc"/>
- <constraint firstItem="d90-Vj-Yhb" firstAttribute="leading" secondItem="WGd-sn-FZj" secondAttribute="leading" constant="15" id="Cr2-xg-PdQ"/>
- <constraint firstAttribute="height" constant="60" id="OEx-fK-MiL"/>
- <constraint firstItem="d90-Vj-Yhb" firstAttribute="centerY" secondItem="WGd-sn-FZj" secondAttribute="centerY" id="Wke-Aa-LMo"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- <color key="backgroundColor" red="0.94901960784313721" green="0.95686274509803915" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="RMh-Hq-xqF" secondAttribute="trailing" constant="20" id="AvO-i8-ZRy"/>
- <constraint firstItem="WGd-sn-FZj" firstAttribute="top" secondItem="RMh-Hq-xqF" secondAttribute="bottom" constant="15" id="FGa-3f-ECL"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="VEr-gX-5S1" secondAttribute="bottom" constant="15" id="HcF-rx-AyE"/>
- <constraint firstItem="jZG-2v-ye3" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="LYS-Eg-nPN"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="VEr-gX-5S1" secondAttribute="trailing" constant="20" id="O7P-5w-m8c"/>
- <constraint firstItem="RMh-Hq-xqF" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="QtU-bj-SAV"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="WGd-sn-FZj" secondAttribute="trailing" constant="20" id="UYy-sT-K5E"/>
- <constraint firstItem="WGd-sn-FZj" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="b55-jc-8uk"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="jZG-2v-ye3" secondAttribute="trailing" constant="20" id="kpF-3U-y4b"/>
- <constraint firstItem="jZG-2v-ye3" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="10" id="lrY-WE-HzC"/>
- <constraint firstItem="VEr-gX-5S1" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="use-1H-uxj"/>
- <constraint firstItem="RMh-Hq-xqF" firstAttribute="top" secondItem="jZG-2v-ye3" secondAttribute="bottom" constant="15" id="y7p-gC-K1q"/>
- </constraints>
- <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
- <point key="canvasLocation" x="76.811594202898561" y="52.901785714285715"/>
- </view>
- <tapGestureRecognizer id="vEd-rP-LuJ">
- <connections>
- <action selector="changeName:" destination="-1" id="d4F-Lv-GdR"/>
- </connections>
- </tapGestureRecognizer>
- <tapGestureRecognizer id="u3x-PK-78m">
- <connections>
- <action selector="tapAvatar:" destination="-1" id="90l-te-ycd"/>
- </connections>
- </tapGestureRecognizer>
- </objects>
- <resources>
- <image name="default_avatar" width="36" height="36"/>
- </resources>
- </document>
|