AddPictureCell.xib 6.02 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
        <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"/>
        <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="AddPictureCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="275" height="369"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="275" height="369"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="image_selected" translatesAutoresizingMaskIntoConstraints="NO" id="KOD-l6-y0Q">
                        <rect key="frame" x="0.0" y="0.0" width="275" height="369"/>
                    </imageView>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XrN-C9-TwV">
                        <rect key="frame" x="2.5" y="2.5" width="270" height="364"/>
                        <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.94901960784313721" alpha="1" colorSpace="calibratedRGB"/>
                        <userDefinedRuntimeAttributes>
                            <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                <integer key="value" value="5"/>
                            </userDefinedRuntimeAttribute>
                        </userDefinedRuntimeAttributes>
                    </imageView>
                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KKI-eM-edc">
                        <rect key="frame" x="249" y="0.0" width="26" height="26"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="26" id="qmy-Cv-u9X"/>
                            <constraint firstAttribute="width" constant="26" id="sn4-WW-oVa"/>
                        </constraints>
                        <state key="normal" image="image_delete"/>
                        <connections>
                            <action selector="deletePicture:" destination="gTV-IL-0wX" eventType="touchUpInside" id="bZY-0i-lzd"/>
                        </connections>
                    </button>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <constraints>
                <constraint firstAttribute="trailing" secondItem="XrN-C9-TwV" secondAttribute="trailing" constant="2.5" id="4Hl-4y-J6R"/>
                <constraint firstAttribute="bottom" secondItem="KOD-l6-y0Q" secondAttribute="bottom" id="AJw-zn-ujk"/>
                <constraint firstAttribute="trailing" secondItem="KOD-l6-y0Q" secondAttribute="trailing" id="HMt-ip-7Vh"/>
                <constraint firstItem="KOD-l6-y0Q" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="NYx-nT-2Lp"/>
                <constraint firstAttribute="trailing" secondItem="KKI-eM-edc" secondAttribute="trailing" id="PiY-MG-t0F"/>
                <constraint firstItem="XrN-C9-TwV" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2.5" id="UZe-AW-KUW"/>
                <constraint firstAttribute="bottom" secondItem="XrN-C9-TwV" secondAttribute="bottom" constant="2.5" id="aOk-JD-DbE"/>
                <constraint firstItem="XrN-C9-TwV" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2.5" id="buP-aa-Wha"/>
                <constraint firstItem="KOD-l6-y0Q" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="f4f-ag-6qa"/>
                <constraint firstItem="KKI-eM-edc" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="f4u-eS-KJW"/>
            </constraints>
            <size key="customSize" width="275" height="369"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="5"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="deleteBtn" destination="KKI-eM-edc" id="Mgi-s8-fhI"/>
                <outlet property="picture" destination="XrN-C9-TwV" id="Cw5-XC-7h6"/>
                <outlet property="selectedImageView" destination="KOD-l6-y0Q" id="e6Q-96-eCt"/>
            </connections>
            <point key="canvasLocation" x="283.33333333333337" y="240.06696428571428"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="image_delete" width="11" height="11"/>
        <image name="image_selected" width="67" height="84.5"/>
    </resources>
</document>