| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6750" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="6">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6735"/>
- </dependencies>
- <scenes>
- <!--View Controller-->
- <scene sceneID="tne-QT-ifu">
- <objects>
- <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
- <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" id="35" translatesAutoresizingMaskIntoConstraints="NO" text="Cute Monkey">
- <rect key="frame" x="20" y="80" width="433" height="30"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- </textField>
- <activityIndicatorView opaque="NO" contentMode="scaleToFill" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="36" hidesWhenStopped="YES" hidden="YES">
- <rect key="frame" x="473" y="85" width="20" height="20"/>
- </activityIndicatorView>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="37" translatesAutoresizingMaskIntoConstraints="NO">
- <rect key="frame" x="511" y="80" width="69" height="30"/>
- <state key="normal" title="Search">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <constraints>
- <constraint id="50" firstItem="37" firstAttribute="width" constant="69"/>
- </constraints>
- </button>
- <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" id="55" translatesAutoresizingMaskIntoConstraints="NO">
- <rect key="frame" x="0.0" y="128" width="600" height="472"/>
- <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="57">
- <size key="itemSize" width="140" height="140"/>
- <size key="headerReferenceSize" width="0.0" height="0.0"/>
- <size key="footerReferenceSize" width="0.0" height="0.0"/>
- <inset key="sectionInset" minX="10" minY="10" maxX="10" maxY="10"/>
- </collectionViewFlowLayout>
- <cells>
- <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="56" reuseIdentifier="imagecell" customClass="ImageCell">
- <rect key="frame" x="10" y="10" width="140" height="140"/>
- <autoresizingMask key="autoresizingMask"/>
- <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
- <rect key="frame" x="10" y="10" width="140" height="140"/>
- <autoresizingMask key="autoresizingMask"/>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
- <subviews>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" id="94" translatesAutoresizingMaskIntoConstraints="NO" fixedFrame="YES">
- <rect key="frame" x="0.0" y="0.0" width="140" height="140"/>
- </imageView>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Caption" lineBreakMode="tailTruncation" minimumFontSize="10" id="97" translatesAutoresizingMaskIntoConstraints="NO" fixedFrame="YES" textAlignment="center" alpha="0.7">
- <rect key="frame" x="0.0" y="110" width="140" height="30"/>
- <color key="backgroundColor" colorSpace="calibratedRGB" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- </view>
- <size key="customSize" width="140" height="140"/>
- <connections>
- <outlet property="LabelCaption" destination="97" id="name-outlet-97"/>
- <outlet property="MainImage" destination="94" id="name-outlet-94"/>
- </connections>
- </collectionViewCell>
- </cells>
- <color key="backgroundColor" colorSpace="calibratedWhite" white="1" alpha="1"/>
- </collectionView>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <constraints>
- <constraint id="47" firstItem="8bC-Xf-vdC" firstAttribute="trailing" secondItem="37" secondAttribute="trailing" constant="20"/>
- <constraint id="48" firstItem="37" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="16"/>
- <constraint id="49" firstItem="37" firstAttribute="leading" secondItem="36" secondAttribute="trailing" constant="18"/>
- <constraint id="51" firstItem="36" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="21"/>
- <constraint id="52" firstItem="35" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="20"/>
- <constraint id="53" firstItem="35" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="16"/>
- <constraint id="54" firstItem="36" firstAttribute="leading" secondItem="35" secondAttribute="trailing" constant="20"/>
- <constraint id="77" firstItem="55" firstAttribute="top" secondItem="35" secondAttribute="bottom" constant="18"/>
- <constraint id="78" firstItem="55" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading"/>
- <constraint id="79" firstItem="55" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading"/>
- <constraint id="80" firstItem="55" firstAttribute="bottom" secondItem="8bC-Xf-vdC" secondAttribute="bottom"/>
- <constraint id="81" firstItem="55" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailing"/>
- </constraints>
- </view>
- <connections>
- <outlet property="ButtonSearch" destination="37" id="name-outlet-37"/>
- <outlet property="ActivityIsLoading" destination="36" id="name-outlet-36"/>
- <outlet property="TextFieldQuery" destination="35" id="name-outlet-35"/>
- <outlet property="CollectionViewImages" destination="55" id="name-outlet-55"/>
- </connections>
- <navigationItem title="Image Search" id="32" key="navigationItem"/>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="-42" y="47"/>
- </scene>
- <scene sceneID="5">
- <objects>
- <navigationController definesPresentationContext="YES" id="6" sceneMemberID="viewController">
- <navigationBar key="navigationBar" contentMode="scaleToFill" id="9">
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
- <rect key="frame" x="0.0" y="20" width="600" height="44"/>
- </navigationBar>
- <connections>
- <segue id="33" destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController"/>
- </connections>
- </navigationController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="10" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="-693" y="40"/>
- </scene>
- </scenes>
- </document>
|