ifish/Ifish/views/setViewCell/BrightnessCell.xib

80 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BrightnessCell" id="KGk-i7-Jjw" customClass="BrightnessCell">
<rect key="frame" x="0.0" y="0.0" width="327" height="96"/>
<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="327" height="95"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="背光亮度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kg9-zM-m64">
<rect key="frame" x="18" y="14" width="140" height="18"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sun_left.png" translatesAutoresizingMaskIntoConstraints="NO" id="vPf-cH-wY5">
<rect key="frame" x="18" y="57" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="2a0-5m-XEO"/>
<constraint firstAttribute="width" constant="20" id="fuP-Rg-UmS"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sun_right.png" translatesAutoresizingMaskIntoConstraints="NO" id="ozy-4r-C3C">
<rect key="frame" x="282" y="57" width="22" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="1iG-DQ-ke8"/>
<constraint firstAttribute="width" constant="22" id="6bX-bc-mLi"/>
</constraints>
</imageView>
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="250" translatesAutoresizingMaskIntoConstraints="NO" id="Nr4-dS-HUZ">
<rect key="frame" x="54" y="52" width="209" height="31"/>
<color key="minimumTrackTintColor" red="0.082352941176470587" green="0.66666666666666663" blue="0.92156862745098034" alpha="1" colorSpace="calibratedRGB"/>
<color key="maximumTrackTintColor" red="0.89411764705882357" green="0.89411764705882357" blue="0.89411764705882357" alpha="1" colorSpace="calibratedRGB"/>
<color key="thumbTintColor" red="0.08235294118" green="0.66666666669999997" blue="0.92156862750000001" alpha="1" colorSpace="calibratedRGB"/>
</slider>
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yxb-gh-jSn">
<rect key="frame" x="233" y="14" width="21" height="18"/>
<constraints>
<constraint firstAttribute="height" constant="18" id="T0p-Jv-Fgy"/>
<constraint firstAttribute="width" constant="21" id="kSd-Zo-jhy"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="Nr4-dS-HUZ" firstAttribute="leading" secondItem="vPf-cH-wY5" secondAttribute="trailing" constant="18" id="AHQ-cc-bHv"/>
<constraint firstItem="Nr4-dS-HUZ" firstAttribute="trailing" secondItem="yxb-gh-jSn" secondAttribute="trailing" constant="7" id="Ldc-Ir-jka"/>
<constraint firstItem="vPf-cH-wY5" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="10" id="RxV-oV-MwB"/>
<constraint firstItem="Nr4-dS-HUZ" firstAttribute="centerY" secondItem="ozy-4r-C3C" secondAttribute="centerY" id="Yb2-f8-lVR"/>
<constraint firstItem="ozy-4r-C3C" firstAttribute="leading" secondItem="Nr4-dS-HUZ" secondAttribute="trailing" constant="21" id="fVc-Xc-qfy"/>
<constraint firstItem="Nr4-dS-HUZ" firstAttribute="centerY" secondItem="vPf-cH-wY5" secondAttribute="centerY" id="l6U-Zq-e12"/>
<constraint firstAttribute="trailingMargin" secondItem="ozy-4r-C3C" secondAttribute="trailing" constant="15" id="okd-9J-fwB"/>
<constraint firstItem="Nr4-dS-HUZ" firstAttribute="top" secondItem="yxb-gh-jSn" secondAttribute="bottom" constant="20" id="ro1-Bz-kC2"/>
<constraint firstAttribute="bottomMargin" secondItem="Nr4-dS-HUZ" secondAttribute="bottom" constant="5" id="ts7-Xn-dCE"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="brightTitleLabel" destination="Kg9-zM-m64" id="GN8-rb-2GP"/>
<outlet property="btightnessSlider" destination="Nr4-dS-HUZ" id="SM7-QJ-BG2"/>
<outlet property="persentLabel" destination="yxb-gh-jSn" id="7e9-7f-IsX"/>
</connections>
<point key="canvasLocation" x="212.5" y="294"/>
</tableViewCell>
</objects>
<resources>
<image name="sun_left.png" width="62" height="62"/>
<image name="sun_right.png" width="74" height="74"/>
</resources>
</document>