mobile-ios/CovidSafe/MainStatisticsHeader.xib

184 lines
18 KiB
Text
Raw Permalink Normal View History

2020-09-14 01:23:11 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2021-02-02 00:04:43 +00:00
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
2020-09-14 01:23:11 +00:00
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
2021-02-02 00:04:43 +00:00
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
2020-10-16 04:45:07 +00:00
<capability name="System colors in document resources" minToolsVersion="11.0"/>
2020-09-14 01:23:11 +00:00
<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"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MainStatisticsHeaderViewCell" customModule="COVIDSafe" customModuleProvider="target">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="0.0" width="414" height="223"/>
2020-09-14 01:23:11 +00:00
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" verticalHuggingPriority="150" translatesAutoresizingMaskIntoConstraints="NO" id="LNU-3k-bH8">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="0.0" width="414" height="223"/>
2020-09-14 01:23:11 +00:00
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="200" verticalCompressionResistancePriority="250" axis="vertical" distribution="equalCentering" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="3KU-hY-cXW">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="16" y="10" width="382" height="203"/>
2020-09-14 01:23:11 +00:00
<subviews>
2020-10-16 04:45:07 +00:00
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yiG-0H-5h8">
<rect key="frame" x="0.0" y="0.0" width="382" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="200" horizontalCompressionResistancePriority="200" text="National Numbers" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LUK-tN-ZWJ">
<rect key="frame" x="0.0" y="0.0" width="332" height="32"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="localizationKey" value="national_numbers"/>
</userDefinedRuntimeAttributes>
</label>
<button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="250" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YIZ-FU-gPZ" userLabel="RefreshNow">
<rect key="frame" x="332" y="0.0" width="50" height="32"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="i77-4x-1qg"/>
</constraints>
<fontDescription key="fontDescription" style="UICTFontTextStyleCallout"/>
<state key="normal" title="Hide">
<color key="titleColor" red="0.0" green="0.40000000000000002" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="showHideButtonTapped:" destination="iN0-l3-epB" eventType="touchUpInside" id="T32-je-Y3z"/>
</connections>
</button>
</subviews>
</stackView>
2021-02-02 00:04:43 +00:00
<stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="Eo2-CQ-TVB">
<rect key="frame" x="0.0" y="39.5" width="382" height="24"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="map-pin" translatesAutoresizingMaskIntoConstraints="NO" id="5rE-S9-Pja">
<rect key="frame" x="0.0" y="0.0" width="24" height="24"/>
</imageView>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="200" horizontalCompressionResistancePriority="200" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WJv-DM-A1b">
<rect key="frame" x="28" y="0.0" width="354" height="24"/>
<attributedString key="attributedText">
<fragment content="Select state or territory">
<attributes>
<color key="NSColor" red="0.0" green="0.40000000000000002" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<font key="NSFont" metaFont="system" size="17"/>
<integer key="NSUnderline" value="1"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="localizationKey" value="select_state_territory"/>
</userDefinedRuntimeAttributes>
</label>
</subviews>
</stackView>
2020-10-16 04:45:07 +00:00
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HQV-Ve-FBH" userLabel="I">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="84.5" width="382" height="4"/>
2020-10-16 04:45:07 +00:00
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5Bt-uv-S3P">
<rect key="frame" x="-16" y="3" width="414" height="1"/>
<color key="backgroundColor" red="0.8666666666666667" green="0.8666666666666667" blue="0.8666666666666667" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="leE-sm-vmd"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="5Bt-uv-S3P" firstAttribute="top" secondItem="HQV-Ve-FBH" secondAttribute="top" constant="3" id="T8m-7X-0kN"/>
<constraint firstAttribute="trailing" secondItem="5Bt-uv-S3P" secondAttribute="trailing" constant="-16" id="WcC-wS-z6L"/>
<constraint firstItem="5Bt-uv-S3P" firstAttribute="leading" secondItem="HQV-Ve-FBH" secondAttribute="leading" constant="-16" id="eqB-f8-3Um"/>
<constraint firstAttribute="bottom" secondItem="5Bt-uv-S3P" secondAttribute="bottom" id="quf-kd-WvG"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Buq-AE-Tec">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="97" width="382" height="50"/>
2020-10-16 04:45:07 +00:00
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="19 August 2020 at 9pm AEST" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Szv-Ly-NAe">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="9" width="382" height="41"/>
2020-10-16 04:45:07 +00:00
<fontDescription key="fontDescription" style="UICTFontTextStyleCallout"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="Szv-Ly-NAe" secondAttribute="bottom" id="KG5-C7-aEy"/>
<constraint firstItem="Szv-Ly-NAe" firstAttribute="leading" secondItem="Buq-AE-Tec" secondAttribute="leading" id="YDf-qt-KCT"/>
<constraint firstAttribute="trailing" secondItem="Szv-Ly-NAe" secondAttribute="trailing" id="bUk-6J-Ayy"/>
<constraint firstItem="Szv-Ly-NAe" firstAttribute="top" secondItem="Buq-AE-Tec" secondAttribute="top" constant="9" id="xCx-2F-2Sf"/>
</constraints>
</view>
2020-09-14 01:23:11 +00:00
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="Connect to the internet to ensure you get updated numbers." textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hJd-vH-SuQ">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="150" width="382" height="0.0"/>
2020-09-14 01:23:11 +00:00
<fontDescription key="fontDescription" style="UICTFontTextStyleCallout"/>
<color key="textColor" red="0.63921568630000003" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yGy-cF-2ss">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="153" width="382" height="50"/>
2020-09-14 01:23:11 +00:00
<subviews>
2020-10-16 04:45:07 +00:00
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0ye-oo-sh0" userLabel="RefreshNow">
2021-02-02 00:04:43 +00:00
<rect key="frame" x="0.0" y="0.0" width="87" height="50"/>
2020-09-14 01:23:11 +00:00
<fontDescription key="fontDescription" name="Tahoma" family="Tahoma" pointSize="15"/>
<state key="normal" title="Refresh Now">
<color key="titleColor" red="0.0" green="0.40000000000000002" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="localizationKey" value="numbers_refresh"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="refreshButtonTapped:" destination="iN0-l3-epB" eventType="touchUpInside" id="zbw-X6-vI2"/>
</connections>
</button>
</subviews>
2020-10-16 04:45:07 +00:00
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
2020-09-14 01:23:11 +00:00
<constraints>
<constraint firstAttribute="bottom" secondItem="0ye-oo-sh0" secondAttribute="bottom" id="QVj-eL-Os0"/>
<constraint firstItem="0ye-oo-sh0" firstAttribute="leading" secondItem="yGy-cF-2ss" secondAttribute="leading" id="kyg-C6-oG1"/>
<constraint firstItem="0ye-oo-sh0" firstAttribute="top" secondItem="yGy-cF-2ss" secondAttribute="top" id="t3C-Gb-UDD"/>
</constraints>
</view>
</subviews>
</stackView>
</subviews>
2020-10-16 04:45:07 +00:00
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
2020-09-14 01:23:11 +00:00
<constraints>
2020-10-16 04:45:07 +00:00
<constraint firstAttribute="bottom" secondItem="3KU-hY-cXW" secondAttribute="bottom" constant="10" id="8HZ-16-M66"/>
2020-09-14 01:23:11 +00:00
<constraint firstAttribute="trailing" secondItem="3KU-hY-cXW" secondAttribute="trailing" constant="16" id="DWd-Sg-YC5"/>
<constraint firstItem="3KU-hY-cXW" firstAttribute="leading" secondItem="LNU-3k-bH8" secondAttribute="leading" constant="16" id="ZPK-gK-ayb"/>
2020-10-16 04:45:07 +00:00
<constraint firstItem="3KU-hY-cXW" firstAttribute="top" secondItem="LNU-3k-bH8" secondAttribute="top" constant="10" id="fbb-8s-Hch"/>
2020-09-14 01:23:11 +00:00
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="0.86666666670000003" green="0.86666666670000003" blue="0.86666666670000003" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
2020-10-16 04:45:07 +00:00
<constraint firstAttribute="bottom" secondItem="LNU-3k-bH8" secondAttribute="bottom" id="1ky-wJ-WLp"/>
2020-09-14 01:23:11 +00:00
<constraint firstAttribute="trailing" secondItem="LNU-3k-bH8" secondAttribute="trailing" id="Gyk-V9-IkT"/>
<constraint firstItem="LNU-3k-bH8" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="MbS-Uc-ecX"/>
<constraint firstItem="LNU-3k-bH8" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="kYn-fV-Em1"/>
</constraints>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="dateLabel" destination="Szv-Ly-NAe" id="K1g-54-6dB"/>
2020-10-16 04:45:07 +00:00
<outlet property="dateLabelContainer" destination="Buq-AE-Tec" id="JHf-1C-JoC"/>
<outlet property="dateLabelDivider" destination="HQV-Ve-FBH" id="0lR-kj-lSQ"/>
2020-09-14 01:23:11 +00:00
<outlet property="errorLabel" destination="hJd-vH-SuQ" id="cXx-zR-cHb"/>
2020-10-16 04:45:07 +00:00
<outlet property="hideShowButton" destination="YIZ-FU-gPZ" id="6fn-pc-fYr"/>
2020-09-14 01:23:11 +00:00
<outlet property="refreshViewContainer" destination="yGy-cF-2ss" id="4tz-HJ-nkf"/>
2021-02-02 00:04:43 +00:00
<outlet property="selectStateLabel" destination="WJv-DM-A1b" id="BcE-pT-9Gh"/>
<outlet property="selectStateTerritoryContainer" destination="Eo2-CQ-TVB" id="yq7-lf-bem"/>
2020-09-14 01:23:11 +00:00
<outlet property="titleLabel" destination="LUK-tN-ZWJ" id="FjT-za-hlQ"/>
</connections>
2021-02-02 00:04:43 +00:00
<point key="canvasLocation" x="145" y="-105"/>
2020-09-14 01:23:11 +00:00
</view>
</objects>
2020-10-16 04:45:07 +00:00
<resources>
2021-02-02 00:04:43 +00:00
<image name="map-pin" width="24" height="24"/>
2020-10-16 04:45:07 +00:00
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
2020-09-14 01:23:11 +00:00
</document>