123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
- <device id="retina6_1" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
- <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="Alibaba-PuHuiTi-Regular.otf">
- <string>AlibabaPuHuiTiR</string>
- </array>
- <array key="PingFangSC Heavy.ttf">
- <string>PingFang-SC-Heavy</string>
- </array>
- </customFonts>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="74" id="KGk-i7-Jjw" customClass="IHAssociatedCell" customModule="智能照明" customModuleProvider="target">
- <rect key="frame" x="0.0" y="0.0" width="317" height="74"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
- <rect key="frame" x="0.0" y="0.0" width="317" height="74"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="全开" translatesAutoresizingMaskIntoConstraints="NO" id="bgT-Rf-aFG">
- <rect key="frame" x="23.5" y="17" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" constant="40" id="DED-eQ-9P3"/>
- <constraint firstAttribute="height" constant="40" id="fKs-Tr-d3P"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="20"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </imageView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="F0J-yP-3FC">
- <rect key="frame" x="75.5" y="17" width="39" height="20"/>
- <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="信号_弱" translatesAutoresizingMaskIntoConstraints="NO" id="1eI-go-5CO">
- <rect key="frame" x="119.5" y="21" width="12.5" height="12.5"/>
- <constraints>
- <constraint firstAttribute="height" constant="12.5" id="Hva-De-yMn"/>
- <constraint firstAttribute="width" constant="12.5" id="p0h-0m-2yQ"/>
- </constraints>
- </imageView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID73823789" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KAf-Mh-OP3">
- <rect key="frame" x="75.5" y="39" width="61.5" height="15.5"/>
- <fontDescription key="fontDescription" name="AlibabaPuHuiTiR" family="Alibaba PuHuiTi" pointSize="11"/>
- <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HlB-Dt-tGM">
- <rect key="frame" x="279" y="22" width="30" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="30" id="ZbX-7j-NsD"/>
- <constraint firstAttribute="height" constant="30" id="h5J-3S-hFd"/>
- </constraints>
- <state key="normal" image="禁止"/>
- <connections>
- <action selector="forbidAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="pxr-aj-h9S"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YYX-VT-pUB">
- <rect key="frame" x="229" y="22" width="30" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="30" id="Icd-QK-wQ3"/>
- <constraint firstAttribute="height" constant="30" id="p8v-Hw-SDO"/>
- </constraints>
- <state key="normal" image="关灯"/>
- <state key="selected" image="开灯"/>
- <connections>
- <action selector="turnOnOrOff:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="FYR-7s-wHq"/>
- </connections>
- </button>
- </subviews>
- <constraints>
- <constraint firstItem="YYX-VT-pUB" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="6ha-rW-bf9"/>
- <constraint firstItem="F0J-yP-3FC" firstAttribute="top" secondItem="bgT-Rf-aFG" secondAttribute="top" id="72W-EW-URX"/>
- <constraint firstItem="1eI-go-5CO" firstAttribute="leading" secondItem="F0J-yP-3FC" secondAttribute="trailing" constant="5" id="IOZ-Rs-ZKw"/>
- <constraint firstItem="bgT-Rf-aFG" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Ilk-1J-N7Z"/>
- <constraint firstItem="F0J-yP-3FC" firstAttribute="leading" secondItem="bgT-Rf-aFG" secondAttribute="trailing" constant="12" id="KOe-68-9hK"/>
- <constraint firstItem="1eI-go-5CO" firstAttribute="centerY" secondItem="F0J-yP-3FC" secondAttribute="centerY" id="RoZ-EC-Y51"/>
- <constraint firstItem="KAf-Mh-OP3" firstAttribute="leading" secondItem="F0J-yP-3FC" secondAttribute="leading" id="cmq-sT-hC6"/>
- <constraint firstItem="KAf-Mh-OP3" firstAttribute="top" secondItem="F0J-yP-3FC" secondAttribute="bottom" constant="2" id="dNO-zG-PHI"/>
- <constraint firstItem="bgT-Rf-aFG" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="23.5" id="gac-qc-m3B"/>
- <constraint firstAttribute="trailing" secondItem="HlB-Dt-tGM" secondAttribute="trailing" constant="8" id="seq-9g-tva"/>
- <constraint firstItem="HlB-Dt-tGM" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="yYd-SB-qUT"/>
- <constraint firstItem="HlB-Dt-tGM" firstAttribute="leading" secondItem="YYX-VT-pUB" secondAttribute="trailing" constant="20" id="zwf-xR-Axg"/>
- </constraints>
- </tableViewCellContentView>
- <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
- <connections>
- <outlet property="devIcon" destination="bgT-Rf-aFG" id="S8Z-ke-Lbj"/>
- <outlet property="devId" destination="KAf-Mh-OP3" id="Vbx-Ms-W3N"/>
- <outlet property="devName" destination="F0J-yP-3FC" id="eQC-zs-7bG"/>
- <outlet property="lampTurnOnBtn" destination="YYX-VT-pUB" id="LzA-zV-dpJ"/>
- </connections>
- <point key="canvasLocation" x="132.60869565217394" y="89.732142857142847"/>
- </tableViewCell>
- </objects>
- <resources>
- <image name="信号_弱" width="12" height="9"/>
- <image name="全开" width="36" height="36"/>
- <image name="关灯" width="30" height="30"/>
- <image name="开灯" width="30" height="30"/>
- <image name="禁止" width="30" height="30"/>
- </resources>
- </document>
|