ios-samples/UIImageEffects/Main.storyboard

87 строки
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4457.4" systemVersion="13A476p" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="NdV-Zd-9qD">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" minimumFontSize="10" id="3" translatesAutoresizingMaskIntoConstraints="NO" textAlignment="center" misplaced="YES">
<rect key="frame" x="30" y="527" width="259" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" colorSpace="calibratedRGB" red="1" green="1" blue="1" alpha="1"/>
<nil key="highlightedColor"/>
<constraints>
<constraint firstAttribute="width" constant="259" id="6"/>
</constraints>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" id="6q8-Jm-wJo"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="bottom" secondItem="kh9-bI-dsS" secondAttribute="bottom" id="Gws-xV-sYo"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailing" id="Kqs-9y-tgA"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailing" id="V6e-EA-irs"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="top" secondItem="kh9-bI-dsS" secondAttribute="top" id="gA5-db-up7"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" id="qJK-od-z3y"/>
<constraint firstItem="NdV-Zd-9qD" firstAttribute="top" secondItem="kh9-bI-dsS" secondAttribute="top" id="vLb-60-yby"/>
<constraint firstItem="3" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="30" id="4"/>
<constraint firstItem="kh9-bI-dsS" firstAttribute="bottom" secondItem="3" secondAttribute="bottom" constant="20" id="5"/>
</constraints>
<connections>
<outletCollection property="gestureRecognizers" destination="wV8-Km-vnh" appends="YES" id="OX1-Lp-U0e"/>
</connections>
</view>
<extendedEdge key="edgesForExtendedLayout"/>
<connections>
<outlet property="imageView" destination="NdV-Zd-9qD" id="v15-Df-aEM"/>
<outlet property="effectLabel" destination="3" id="name-outlet-3"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
<tapGestureRecognizer id="wV8-Km-vnh">
<connections>
<action selector="updateImage:" destination="vXZ-lx-hvc" id="BBB-AI-ffF"/>
</connections>
</tapGestureRecognizer>
<tapGestureRecognizer id="1">
<rect key="frame" x="207" y="360" width="0.0" height="0.0"/>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="140" y="34"/>
</scene>
</scenes>
<classes>
<class className="APLViewController" superclassName="UIViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/APLViewController.h"/>
<relationships>
<relationship kind="action" name="updateImage:"/>
<relationship kind="outlet" name="effectLabel" candidateClass="UILabel"/>
<relationship kind="outlet" name="imageView" candidateClass="UIImageView"/>
</relationships>
</class>
<class className="NSLayoutConstraint" superclassName="NSObject">
<source key="sourceIdentifier" type="project" relativePath="./Classes/NSLayoutConstraint.h"/>
</class>
</classes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
<resources>
<image name="DisplayImage" width="640" height="1136"/>
</resources>
</document>