blob: 36f223cf1d03a7c8850f6fea235f4c67cb301c25 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="FlexibleHeaderTypicalUseViewController">
<connections>
<outlet property="exampleView" destination="iN0-l3-epB" id="Rsj-48-wob"/>
<outlet property="imageView" destination="wh6-ca-CLb" id="gsI-23-SQ1"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" usesAttributedText="YES" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="288" translatesAutoresizingMaskIntoConstraints="NO" id="MfR-Cb-8xU">
<rect key="frame" x="161" y="20" width="279" height="100"/>
<attributedString key="attributedText">
<fragment content="PULL DOWN">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue-Bold"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content="

MDCFlexibleHeaderViewController allows the blue area to stretch when scrolled down.">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" usesAttributedText="YES" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="288" translatesAutoresizingMaskIntoConstraints="NO" id="MVM-5W-eO3">
<rect key="frame" x="159" y="204" width="282" height="80"/>
<attributedString key="attributedText">
<fragment content="PUSH UP">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue-Bold"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content="

It also adds a shadow when scrolled up.">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="ic_swap_vert.png" translatesAutoresizingMaskIntoConstraints="NO" id="wh6-ca-CLb">
<rect key="frame" x="288" y="150" width="24" height="24"/>
<color key="tintColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" usesAttributedText="YES" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="288" translatesAutoresizingMaskIntoConstraints="NO" id="SzD-rY-gzv">
<rect key="frame" x="200" y="334" width="201" height="60"/>
<attributedString key="attributedText">
<fragment content="To Go Back">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue-Bold"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content="

Swipe right from left edge.">
<attributes>
<color key="NSColor" red="0.45882352941176469" green="0.45882352941176469" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
<font key="NSFont" size="17" name="HelveticaNeue"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="MfR-Cb-8xU" secondAttribute="trailing" constant="20" id="1vh-PC-ou6"/>
<constraint firstItem="MVM-5W-eO3" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="58G-mi-h4y"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="MVM-5W-eO3" secondAttribute="trailing" constant="20" id="77U-Ny-rWD"/>
<constraint firstItem="MVM-5W-eO3" firstAttribute="top" secondItem="wh6-ca-CLb" secondAttribute="bottom" constant="30" id="B3R-eE-948" userLabel="PUSH UP It also adds a shadow when scrolled up..top = Image View.bottom + 30"/>
<constraint firstItem="MVM-5W-eO3" firstAttribute="centerX" secondItem="wh6-ca-CLb" secondAttribute="centerX" id="DM5-hy-z7p"/>
<constraint firstItem="MfR-Cb-8xU" firstAttribute="centerX" secondItem="wh6-ca-CLb" secondAttribute="centerX" id="H1x-B6-pqF"/>
<constraint firstItem="MfR-Cb-8xU" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="Hk0-w0-HIM"/>
<constraint firstItem="wh6-ca-CLb" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="JpD-xk-Xdu"/>
<constraint firstItem="SzD-rY-gzv" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="NDA-Tw-gHU"/>
<constraint firstItem="wh6-ca-CLb" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="TwN-Kj-ogH"/>
<constraint firstItem="wh6-ca-CLb" firstAttribute="top" secondItem="MfR-Cb-8xU" secondAttribute="bottom" constant="30" id="fn2-0G-zxp"/>
<constraint firstItem="SzD-rY-gzv" firstAttribute="centerX" secondItem="wh6-ca-CLb" secondAttribute="centerX" id="hCn-YU-Di0"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="SzD-rY-gzv" secondAttribute="trailing" constant="20" id="hGx-Qp-gcu"/>
<constraint firstItem="SzD-rY-gzv" firstAttribute="top" secondItem="MVM-5W-eO3" secondAttribute="bottom" constant="50" id="kt5-T2-5fT"/>
<constraint firstItem="MVM-5W-eO3" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="rwx-5J-a6w"/>
<constraint firstItem="MfR-Cb-8xU" firstAttribute="top" relation="greaterThanOrEqual" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="uu9-7t-WWy"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="TwN-Kj-ogH"/>
</mask>
</variation>
</view>
</objects>
<resources>
<image name="ic_swap_vert.png" width="24" height="24"/>
</resources>
</document>