COVIDSafe code from version 2.2 (#42)

This commit is contained in:
COVIDSafe Support 2021-02-02 11:04:43 +11:00 committed by GitHub
parent 9e6e4604ef
commit f14aa60482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 3645 additions and 464 deletions

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17125"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@ -11,14 +11,14 @@
<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">
<rect key="frame" x="0.0" y="0.0" width="414" height="141"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="223"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" verticalHuggingPriority="150" translatesAutoresizingMaskIntoConstraints="NO" id="LNU-3k-bH8">
<rect key="frame" x="0.0" y="0.0" width="414" height="141"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="223"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="200" verticalCompressionResistancePriority="250" axis="vertical" distribution="equalCentering" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="3KU-hY-cXW">
<rect key="frame" x="16" y="10" width="382" height="121"/>
<rect key="frame" x="16" y="10" width="382" height="203"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yiG-0H-5h8">
<rect key="frame" x="0.0" y="0.0" width="382" height="32"/>
@ -47,8 +47,32 @@
</button>
</subviews>
</stackView>
<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>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HQV-Ve-FBH" userLabel="I">
<rect key="frame" x="0.0" y="38" width="382" height="4"/>
<rect key="frame" x="0.0" y="84.5" width="382" height="4"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5Bt-uv-S3P">
<rect key="frame" x="-16" y="3" width="414" height="1"/>
@ -67,10 +91,10 @@
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Buq-AE-Tec">
<rect key="frame" x="0.0" y="48" width="382" height="37"/>
<rect key="frame" x="0.0" y="97" width="382" height="50"/>
<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">
<rect key="frame" x="0.0" y="9" width="382" height="28"/>
<rect key="frame" x="0.0" y="9" width="382" height="41"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleCallout"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -85,16 +109,16 @@
</constraints>
</view>
<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">
<rect key="frame" x="0.0" y="88" width="382" height="0.0"/>
<rect key="frame" x="0.0" y="150" width="382" height="0.0"/>
<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">
<rect key="frame" x="0.0" y="91" width="382" height="30"/>
<rect key="frame" x="0.0" y="153" width="382" height="50"/>
<subviews>
<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">
<rect key="frame" x="0.0" y="0.0" width="87" height="30"/>
<rect key="frame" x="0.0" y="0.0" width="87" height="50"/>
<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"/>
@ -143,12 +167,15 @@
<outlet property="errorLabel" destination="hJd-vH-SuQ" id="cXx-zR-cHb"/>
<outlet property="hideShowButton" destination="YIZ-FU-gPZ" id="6fn-pc-fYr"/>
<outlet property="refreshViewContainer" destination="yGy-cF-2ss" id="4tz-HJ-nkf"/>
<outlet property="selectStateLabel" destination="WJv-DM-A1b" id="BcE-pT-9Gh"/>
<outlet property="selectStateTerritoryContainer" destination="Eo2-CQ-TVB" id="yq7-lf-bem"/>
<outlet property="titleLabel" destination="LUK-tN-ZWJ" id="FjT-za-hlQ"/>
</connections>
<point key="canvasLocation" x="140.57971014492756" y="-95.758928571428569"/>
<point key="canvasLocation" x="145" y="-105"/>
</view>
</objects>
<resources>
<image name="map-pin" width="24" height="24"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>