deep-linking-sample/Apps/Wikipedia/Wikipedia/Code/ShareViewController.xib
Javier Cicchelli 9bcdaa697b [Setup] Basic project structure (#1)
This PR contains all the work related to setting up this project as required to implement the [Assignment](https://repo.rock-n-code.com/rock-n-code/deep-linking-assignment/wiki/Assignment) on top, as intended.

To summarise this work:
- [x] created a new **Xcode** project;
- [x] cloned the `Wikipedia` app and inserted it into the **Xcode** project;
- [x] created the `Locations` app and also, its `Libraries` package;
- [x] created the `Shared` package to share dependencies between the apps;
- [x] added a `Makefile` file and implemented some **environment** and **help** commands.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: rock-n-code/deep-linking-assignment#1
2023-04-08 18:37:13 +00:00

108 lines
8.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="ipad9_7" orientation="portrait" layout="fullscreen" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ShareViewController" customModule="Wikipedia" customModuleProvider="target">
<connections>
<outlet property="busyLabel" destination="PB8-bf-PDt" id="dR9-n2-KVF"/>
<outlet property="busyView" destination="a3r-Et-NLq" id="nsN-Kw-UaU"/>
<outlet property="cancelButton" destination="wRv-BJ-5qn" id="LUj-Mc-lax"/>
<outlet property="imageView" destination="VCO-jP-6OH" id="i2g-mS-QDg"/>
<outlet property="imageViewTopConstraint" destination="fOe-1X-u3N" id="mHi-jP-yuN"/>
<outlet property="imageViewVerticallyCenteredConstraint" destination="zjX-56-tnT" id="UVI-pU-yaI"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="a3r-Et-NLq">
<rect key="frame" x="262.5" y="440.5" width="243" height="143"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" image="share-building" translatesAutoresizingMaskIntoConstraints="NO" id="zDc-fC-axl">
<rect key="frame" x="55" y="0.0" width="134" height="76"/>
<constraints>
<constraint firstAttribute="width" constant="134" id="0Dx-gF-W2J"/>
<constraint firstAttribute="height" constant="76" id="0bs-xo-wSJ"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Building Share-a-fact card..." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PB8-bf-PDt">
<rect key="frame" x="8" y="99" width="227" height="21"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="225" id="iaI-ws-KF8"/>
</constraints>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="zDc-fC-axl" firstAttribute="centerX" secondItem="a3r-Et-NLq" secondAttribute="centerX" id="Jrc-mI-dib"/>
<constraint firstAttribute="trailing" secondItem="PB8-bf-PDt" secondAttribute="trailing" constant="8" id="N7f-Zu-hHU"/>
<constraint firstAttribute="bottom" secondItem="PB8-bf-PDt" secondAttribute="bottom" constant="23" id="XNJ-tG-JTz"/>
<constraint firstItem="zDc-fC-axl" firstAttribute="top" secondItem="a3r-Et-NLq" secondAttribute="top" id="kXe-PT-Lqn"/>
<constraint firstItem="PB8-bf-PDt" firstAttribute="leading" secondItem="a3r-Et-NLq" secondAttribute="leading" constant="8" id="sGY-mT-Bub"/>
<constraint firstItem="PB8-bf-PDt" firstAttribute="top" secondItem="zDc-fC-axl" secondAttribute="bottom" constant="23" id="wcT-W6-pgR"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wRv-BJ-5qn">
<rect key="frame" x="356.5" y="964" width="55" height="33"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<state key="normal" title="Cancel"/>
<connections>
<action selector="cancel:" destination="-1" eventType="touchUpInside" id="FsV-IY-Vhs"/>
</connections>
</button>
<imageView userInteractionEnabled="NO" alpha="0.0" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="VCO-jP-6OH">
<rect key="frame" x="192" y="404" width="384" height="216"/>
<constraints>
<constraint firstAttribute="width" secondItem="VCO-jP-6OH" secondAttribute="height" multiplier="640:360" priority="999" id="DEC-yr-Hkh"/>
</constraints>
</imageView>
</subviews>
<constraints>
<constraint firstItem="a3r-Et-NLq" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="3Fp-9h-943"/>
<constraint firstItem="VCO-jP-6OH" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" multiplier="0.5" priority="900" id="74X-Oh-XuR"/>
<constraint firstItem="VCO-jP-6OH" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="fOe-1X-u3N">
<variation key="heightClass=regular-widthClass=regular" constant="40"/>
</constraint>
<constraint firstItem="VCO-jP-6OH" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" priority="850" constant="20" id="pts-Rp-spr">
<variation key="heightClass=regular-widthClass=regular" constant="40"/>
</constraint>
<constraint firstItem="wRv-BJ-5qn" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="qQ9-b1-NjJ"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="wRv-BJ-5qn" secondAttribute="bottom" constant="27" id="qjr-7Q-Too"/>
<constraint firstItem="VCO-jP-6OH" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="ti2-dt-KuC"/>
<constraint firstItem="a3r-Et-NLq" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="wa7-w2-dmH"/>
<constraint firstAttribute="trailing" secondItem="VCO-jP-6OH" secondAttribute="trailing" priority="850" constant="20" id="y1x-Ia-icC">
<variation key="heightClass=regular-widthClass=regular" constant="40"/>
</constraint>
<constraint firstItem="VCO-jP-6OH" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="zjX-56-tnT"/>
</constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<variation key="default">
<mask key="constraints">
<exclude reference="74X-Oh-XuR"/>
<exclude reference="fOe-1X-u3N"/>
</mask>
</variation>
<variation key="widthClass=regular">
<mask key="constraints">
<include reference="74X-Oh-XuR"/>
</mask>
</variation>
<point key="canvasLocation" x="33" y="54"/>
</view>
</objects>
<resources>
<image name="share-building" width="134" height="76"/>
</resources>
</document>