PhotoRank/PhotoRank/Final Rankings/RankingTableViewCell.xib

64 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14865.1" 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="14819.2"/>
<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"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="116" id="KGk-i7-Jjw" customClass="RankingTableViewCell" customModule="PhotoRank" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" 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="320" height="96"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="OsB-61-ZJs">
<rect key="frame" x="8" y="8" width="80" height="80"/>
<constraints>
<constraint firstAttribute="height" constant="80" id="PeH-tP-ooH"/>
<constraint firstAttribute="width" constant="80" id="VCj-Je-0sM"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Score: 1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xba-9D-I33">
<rect key="frame" x="104" y="37.5" width="61" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="F4t-7A-TLx">
<rect key="frame" x="284.5" y="37" width="19.5" height="22"/>
<state key="normal" image="heart" catalog="system"/>
<connections>
<action selector="favoriteButtonPressed" destination="KGk-i7-Jjw" eventType="touchUpInside" id="9Ar-jD-N0y"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="xba-9D-I33" firstAttribute="leading" secondItem="OsB-61-ZJs" secondAttribute="trailing" constant="16" id="Iyl-7T-iy4"/>
<constraint firstItem="F4t-7A-TLx" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" id="OVA-8T-N7P"/>
<constraint firstItem="F4t-7A-TLx" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="cjb-mc-1ff"/>
<constraint firstItem="OsB-61-ZJs" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="8" id="fRg-ac-ljI"/>
<constraint firstAttribute="bottom" secondItem="OsB-61-ZJs" secondAttribute="bottom" constant="8" id="jPG-Uj-1aL"/>
<constraint firstItem="OsB-61-ZJs" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="lOa-Y4-gxE"/>
<constraint firstItem="xba-9D-I33" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="sGL-MZ-Db9"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="assetImageView" destination="OsB-61-ZJs" id="HQe-4O-cNI"/>
<outlet property="favoriteButton" destination="F4t-7A-TLx" id="LJM-ZH-fX6"/>
<outlet property="scoreLabel" destination="xba-9D-I33" id="4Xh-j1-796"/>
</connections>
<point key="canvasLocation" x="131.8840579710145" y="148.66071428571428"/>
</tableViewCell>
</objects>
<resources>
<image name="heart" catalog="system" width="64" height="58"/>
</resources>
</document>