1011 lines
113 KiB
XML
1011 lines
113 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
|
<device id="retina4_7" orientation="portrait">
|
|
<adaptation id="fullscreen"/>
|
|
</device>
|
|
<dependencies>
|
|
<deployment identifier="iOS"/>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
|
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
</dependencies>
|
|
<scenes>
|
|
<!--Navigation Controller-->
|
|
<scene sceneID="1sx-zW-OnW">
|
|
<objects>
|
|
<navigationController storyboardIdentifier="UINavigationController" toolbarHidden="NO" id="JOA-JU-iCW" sceneMemberID="viewController">
|
|
<toolbarItems/>
|
|
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" largeTitles="YES" id="GsQ-3q-wZr">
|
|
<rect key="frame" x="0.0" y="20" width="375" height="96"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<color key="barTintColor" red="0.53333333333333333" green="0.090196078431372548" blue="0.10196078431372549" alpha="1" colorSpace="calibratedRGB"/>
|
|
<textAttributes key="titleTextAttributes">
|
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
</textAttributes>
|
|
<textAttributes key="largeTitleTextAttributes">
|
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
</textAttributes>
|
|
</navigationBar>
|
|
<toolbar key="toolbar" opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Gaw-oA-bsm">
|
|
<rect key="frame" x="0.0" y="623" width="375" height="44"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
</toolbar>
|
|
</navigationController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="cAJ-Ch-uyg" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="-1403" y="201"/>
|
|
</scene>
|
|
<!--WireGuard-->
|
|
<scene sceneID="Tud-vM-cYZ">
|
|
<objects>
|
|
<tableViewController storyboardIdentifier="TunnelsTableViewController" id="kTU-BV-32R" customClass="TunnelsTableViewController" customModule="WireGuard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="60" estimatedRowHeight="60" sectionHeaderHeight="28" sectionFooterHeight="28" id="AJg-r0-KJH">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<inset key="separatorInset" minX="15" minY="0.0" maxX="0.0" maxY="0.0"/>
|
|
<prototypes>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="TunnelTableViewCell" rowHeight="60" id="a0u-k7-l2a" customClass="TunnelTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="28" width="375" height="60"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="a0u-k7-l2a" id="5vz-m1-nzL">
|
|
<rect key="frame" x="0.0" y="0.0" width="341" height="59.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LTX-Ir-wae">
|
|
<rect key="frame" x="16" y="11" width="42" height="38"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="Lfv-Kt-u7M">
|
|
<rect key="frame" x="298" y="20" width="20" height="20"/>
|
|
</activityIndicatorView>
|
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3kG-Lh-YJw">
|
|
<rect key="frame" x="292" y="14.5" width="51" height="31"/>
|
|
<connections>
|
|
<action selector="tunnelSwitchChanged:" destination="a0u-k7-l2a" eventType="valueChanged" id="9bz-IV-8hb"/>
|
|
</connections>
|
|
</switch>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="3kG-Lh-YJw" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="LTX-Ir-wae" secondAttribute="trailing" constant="10" id="2fo-Df-eKg"/>
|
|
<constraint firstAttribute="bottomMargin" secondItem="LTX-Ir-wae" secondAttribute="bottom" id="S3B-b1-6Qv"/>
|
|
<constraint firstAttribute="trailing" secondItem="3kG-Lh-YJw" secondAttribute="trailing" id="hT2-xN-OxL"/>
|
|
<constraint firstItem="LTX-Ir-wae" firstAttribute="leading" secondItem="5vz-m1-nzL" secondAttribute="leadingMargin" id="n1M-My-hfr"/>
|
|
<constraint firstItem="LTX-Ir-wae" firstAttribute="top" secondItem="5vz-m1-nzL" secondAttribute="topMargin" id="xcD-dj-Mkb"/>
|
|
<constraint firstItem="Lfv-Kt-u7M" firstAttribute="centerY" secondItem="5vz-m1-nzL" secondAttribute="centerY" id="xcc-16-Z3J"/>
|
|
<constraint firstAttribute="trailingMargin" secondItem="Lfv-Kt-u7M" secondAttribute="trailing" constant="15" id="yIh-CA-dGh"/>
|
|
<constraint firstItem="3kG-Lh-YJw" firstAttribute="centerY" secondItem="5vz-m1-nzL" secondAttribute="centerY" id="yYd-ax-nhH"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
<connections>
|
|
<outlet property="activityIndicator" destination="Lfv-Kt-u7M" id="eg5-uH-cH9"/>
|
|
<outlet property="tunnelSwitch" destination="3kG-Lh-YJw" id="pCW-UC-DBx"/>
|
|
<outlet property="tunnelTitleLabel" destination="LTX-Ir-wae" id="NiF-vE-EGL"/>
|
|
</connections>
|
|
</tableViewCell>
|
|
</prototypes>
|
|
<connections>
|
|
<outlet property="dataSource" destination="kTU-BV-32R" id="E0F-RC-fZE"/>
|
|
<outlet property="delegate" destination="kTU-BV-32R" id="b6T-ZR-cmO"/>
|
|
</connections>
|
|
</tableView>
|
|
<toolbarItems>
|
|
<barButtonItem style="plain" systemItem="flexibleSpace" id="TXL-1f-4BY"/>
|
|
<barButtonItem systemItem="add" id="h2H-H8-3Tn">
|
|
<connections>
|
|
<action selector="addProvider:" destination="kTU-BV-32R" id="xSg-ap-3Fx"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
</toolbarItems>
|
|
<navigationItem key="navigationItem" title="WireGuard" largeTitleDisplayMode="always" id="j0L-5U-jDs">
|
|
<barButtonItem key="backBarButtonItem" title="Tunnels" id="pxL-gR-QXU"/>
|
|
<rightBarButtonItems>
|
|
<barButtonItem image="settings" id="DZP-sp-Hsg">
|
|
<connections>
|
|
<action selector="showSettings:" destination="kTU-BV-32R" id="UfC-XY-zhW"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
<barButtonItem systemItem="trash" id="Bj0-7o-icS">
|
|
<connections>
|
|
<action selector="editTunnels:" destination="kTU-BV-32R" id="NzT-sl-F5r"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
<barButtonItem systemItem="done" id="X9a-Od-S2p">
|
|
<connections>
|
|
<action selector="editTunnels:" destination="kTU-BV-32R" id="n7j-D7-moO"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
</rightBarButtonItems>
|
|
</navigationItem>
|
|
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
|
|
<simulatedToolbarMetrics key="simulatedBottomBarMetrics"/>
|
|
<connections>
|
|
<outlet property="doneButton" destination="X9a-Od-S2p" id="Dc9-5g-IBV"/>
|
|
<outlet property="editButton" destination="Bj0-7o-icS" id="iAH-Vk-xLg"/>
|
|
<outlet property="settingsButton" destination="DZP-sp-Hsg" id="6YI-c0-U9w"/>
|
|
</connections>
|
|
</tableViewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="4uZ-Vv-Fry" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="-670" y="200"/>
|
|
</scene>
|
|
<!--Tunnel settings-->
|
|
<scene sceneID="xV8-BW-4R7">
|
|
<objects>
|
|
<tableViewController storyboardIdentifier="TunnelConfigurationTableViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="0VM-73-EPX" customClass="TunnelConfigurationTableViewController" customModule="WireGuard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="0Uy-k2-O3i">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
|
|
<prototypes>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="InterfaceTableViewCell" rowHeight="452" id="06N-KU-LSv" customClass="InterfaceTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="28" width="375" height="452"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="06N-KU-LSv" id="CSX-Am-ix0">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="451.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="14" translatesAutoresizingMaskIntoConstraints="NO" id="DIe-hK-tf6">
|
|
<rect key="frame" x="16" y="11" width="343" height="430"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Interface" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uku-6H-QWf">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="49.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="uLA-3S-jCk">
|
|
<rect key="frame" x="0.0" y="63.5" width="343" height="49.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uJE-LK-T3Y">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6y9-eJ-8fF">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="33.5"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="Ike-ou-qa9"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="TuA-ac-TIy"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="wwN-OL-XUr">
|
|
<rect key="frame" x="0.0" y="127" width="343" height="49.5"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="26U-vy-7Lc">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="19.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Private key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fMQ-kK-FD5">
|
|
<rect key="frame" x="0.0" y="0.0" width="235" height="19.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C1M-bh-5mf">
|
|
<rect key="frame" x="243" y="0.0" width="100" height="19.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" constant="100" id="EvB-pb-J1d"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<state key="normal" title="Generate"/>
|
|
<connections>
|
|
<action selector="generateTapped:" destination="06N-KU-LSv" eventType="touchUpInside" id="efE-zK-eCe"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
</stackView>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hYd-0L-nnY">
|
|
<rect key="frame" x="0.0" y="19.5" width="343" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="CQd-My-M7G"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="7YF-mU-HZT"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="wbd-4k-oxV">
|
|
<rect key="frame" x="0.0" y="190.5" width="343" height="49"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cuy-Vl-A3X">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="15.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jrM-B3-YSD">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="15.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qks-JK-qzc" customClass="CopyableLabel" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="15.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="YP4-TS-hbj"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="nv7-4q-QjM">
|
|
<rect key="frame" x="0.0" y="253.5" width="343" height="49.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Listen port" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h1p-Ea-ler">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="(random)" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="CSv-At-WVr">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="33.5"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="z45-u7-zCB"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="YZ0-LC-PjW"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="PJF-32-WyF">
|
|
<rect key="frame" x="0.0" y="317" width="343" height="49.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Addresses" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L6l-5D-oKQ">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="oOY-vP-nYT">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="33.5"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="HAL-o6-G7A"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="M1a-B6-Cl2"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="7fC-XV-6KP">
|
|
<rect key="frame" x="0.0" y="380.5" width="343" height="49.5"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="NR3-Me-yLc">
|
|
<rect key="frame" x="0.0" y="0.0" width="235" height="49.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DNS servers" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SA3-N0-wfi">
|
|
<rect key="frame" x="0.0" y="0.0" width="235" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ByK-wW-6Q4">
|
|
<rect key="frame" x="0.0" y="16" width="235" height="33.5"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="8gN-mk-GtN"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="YjV-8W-z5Q"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="UId-O4-q3t">
|
|
<rect key="frame" x="243" y="0.0" width="100" height="49.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MTU" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vYu-BI-0Gj">
|
|
<rect key="frame" x="0.0" y="0.0" width="100" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="(auto)" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="myM-B2-sjT">
|
|
<rect key="frame" x="0.0" y="16" width="100" height="33.5"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="06N-KU-LSv" eventType="editingChanged" id="fgZ-LJ-ksN"/>
|
|
<outlet property="delegate" destination="06N-KU-LSv" id="F1E-lK-AsD"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="width" constant="100" id="4BH-E4-p8q"/>
|
|
</constraints>
|
|
</stackView>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="trailingMargin" secondItem="DIe-hK-tf6" secondAttribute="trailing" id="GkT-4C-4uN"/>
|
|
<constraint firstItem="DIe-hK-tf6" firstAttribute="top" secondItem="CSX-Am-ix0" secondAttribute="topMargin" id="Mul-xA-cN9"/>
|
|
<constraint firstAttribute="bottomMargin" secondItem="DIe-hK-tf6" secondAttribute="bottom" id="jBh-kE-ZBG"/>
|
|
<constraint firstItem="DIe-hK-tf6" firstAttribute="leading" secondItem="CSX-Am-ix0" secondAttribute="leadingMargin" id="sab-5q-2rU"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
<connections>
|
|
<outlet property="addressesField" destination="oOY-vP-nYT" id="qcc-pN-5ug"/>
|
|
<outlet property="dnsField" destination="ByK-wW-6Q4" id="gZ4-7d-AHM"/>
|
|
<outlet property="listenPortField" destination="CSv-At-WVr" id="xnx-xz-pqS"/>
|
|
<outlet property="mtuField" destination="myM-B2-sjT" id="ppo-pV-tMl"/>
|
|
<outlet property="nameField" destination="6y9-eJ-8fF" id="PKk-lj-jK9"/>
|
|
<outlet property="privateKeyField" destination="hYd-0L-nnY" id="JLS-5M-E3T"/>
|
|
<outlet property="publicKeyField" destination="Qks-JK-qzc" id="20S-qa-P0O"/>
|
|
</connections>
|
|
</tableViewCell>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="AddPeerTableViewCell" rowHeight="60" id="RyR-s5-lBV" customClass="AddPeerTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="480" width="375" height="60"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="RyR-s5-lBV" id="gPY-qW-fbd">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="59.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fVu-Aa-9dn">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="59.5"/>
|
|
<state key="normal" title="Add peer"/>
|
|
<connections>
|
|
<action selector="addPeer:" destination="0VM-73-EPX" eventType="touchUpInside" id="Udv-Os-ZWn"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="bottom" secondItem="fVu-Aa-9dn" secondAttribute="bottom" id="AyE-qC-Rye"/>
|
|
<constraint firstAttribute="bottom" secondItem="fVu-Aa-9dn" secondAttribute="bottom" id="G8D-HX-t2n"/>
|
|
<constraint firstItem="fVu-Aa-9dn" firstAttribute="leading" secondItem="gPY-qW-fbd" secondAttribute="leading" id="GQn-8W-GpX"/>
|
|
<constraint firstAttribute="trailing" secondItem="fVu-Aa-9dn" secondAttribute="trailing" id="H9S-Km-FDv"/>
|
|
<constraint firstItem="fVu-Aa-9dn" firstAttribute="top" secondItem="gPY-qW-fbd" secondAttribute="top" id="Wv9-c4-I9v"/>
|
|
<constraint firstItem="fVu-Aa-9dn" firstAttribute="top" secondItem="gPY-qW-fbd" secondAttribute="top" id="fcp-SS-lbr"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
</tableViewCell>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="PeerTableViewCell" rowHeight="308" id="gzz-88-0IG" customClass="PeerTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="540" width="375" height="308"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="gzz-88-0IG" id="XA6-EM-5V9">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="307.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="14" translatesAutoresizingMaskIntoConstraints="NO" id="NIK-2J-pTR">
|
|
<rect key="frame" x="16" y="11" width="343" height="286"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dk9-qH-XaO">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="46"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Peer" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="42P-f9-Rft">
|
|
<rect key="frame" x="0.0" y="0.0" width="303" height="46"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageSizeForAccessibilityContentSizeCategory="YES" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SfN-pE-Y3t">
|
|
<rect key="frame" x="303" y="0.0" width="40" height="46"/>
|
|
<accessibility key="accessibilityConfiguration" hint="Delete peer from tunnel configuration" label="Delete"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" constant="40" id="Sj9-zg-bBf"/>
|
|
</constraints>
|
|
<state key="normal" image="trash"/>
|
|
<connections>
|
|
<action selector="deletePeer:" destination="gzz-88-0IG" eventType="touchUpInside" id="PIg-AX-df7"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="zcF-NC-5kf">
|
|
<rect key="frame" x="0.0" y="60" width="343" height="46"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sN7-yp-U0M">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s9R-Af-RNn">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RLw-0o-akQ">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="taX-Ji-pVu"/>
|
|
<outlet property="delegate" destination="gzz-88-0IG" id="bkQ-Nc-VH4"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="miX-4O-NOP">
|
|
<rect key="frame" x="0.0" y="120" width="343" height="46"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pre-shared key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iID-O4-iis">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="(optional)" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="wkY-3s-yTK">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="Cxh-YH-bZv"/>
|
|
<outlet property="delegate" destination="gzz-88-0IG" id="oAu-VZ-2dn"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="vxg-u7-VjZ">
|
|
<rect key="frame" x="0.0" y="180" width="343" height="46"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SJS-V6-FwE">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Allowed IPs" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hDL-EX-UqG">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="iiY-Tl-UcH">
|
|
<rect key="frame" x="0.0" y="16" width="343" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="k1U-vW-Jom"/>
|
|
<outlet property="delegate" destination="gzz-88-0IG" id="DXo-0s-9sc"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="rgQ-cM-hwa">
|
|
<rect key="frame" x="0.0" y="240" width="343" height="46"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="8uI-Ux-Xhj">
|
|
<rect key="frame" x="0.0" y="0.0" width="232" height="46"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Endpoint" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="P3u-6Z-3Hk">
|
|
<rect key="frame" x="0.0" y="0.0" width="232" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="W88-H0-dFZ">
|
|
<rect key="frame" x="0.0" y="16" width="232" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="bjR-TZ-Sx8"/>
|
|
<outlet property="delegate" destination="gzz-88-0IG" id="PLB-sa-SBV"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="eLi-QT-QwF">
|
|
<rect key="frame" x="240" y="0.0" width="103" height="46"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Persistent keepalive" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="tja-cM-cGL">
|
|
<rect key="frame" x="0.0" y="0.0" width="103" height="16"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="(optional)" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Q8w-jh-0ox">
|
|
<rect key="frame" x="0.0" y="16" width="103" height="30"/>
|
|
<nil key="textColor"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
<textInputTraits key="textInputTraits"/>
|
|
<connections>
|
|
<action selector="textfieldDidChange:" destination="gzz-88-0IG" eventType="editingChanged" id="fQC-Pf-jUQ"/>
|
|
<outlet property="delegate" destination="gzz-88-0IG" id="sbH-Sb-rcW"/>
|
|
</connections>
|
|
</textField>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="eLi-QT-QwF" firstAttribute="width" secondItem="NIK-2J-pTR" secondAttribute="width" multiplier="0.3" id="Zid-UY-cdO"/>
|
|
</constraints>
|
|
</stackView>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="NIK-2J-pTR" firstAttribute="top" secondItem="XA6-EM-5V9" secondAttribute="topMargin" id="5YR-8M-6M5"/>
|
|
<constraint firstAttribute="trailingMargin" secondItem="NIK-2J-pTR" secondAttribute="trailing" id="AJ6-FH-zGS"/>
|
|
<constraint firstItem="NIK-2J-pTR" firstAttribute="leading" secondItem="XA6-EM-5V9" secondAttribute="leadingMargin" id="f2r-kN-RKk"/>
|
|
<constraint firstAttribute="bottomMargin" secondItem="NIK-2J-pTR" secondAttribute="bottom" id="rRD-SV-Wft"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
<connections>
|
|
<outlet property="allowedIpsField" destination="iiY-Tl-UcH" id="QQK-x0-C3T"/>
|
|
<outlet property="endpointField" destination="W88-H0-dFZ" id="l0A-57-I5p"/>
|
|
<outlet property="persistentKeepaliveField" destination="Q8w-jh-0ox" id="thE-f2-vzz"/>
|
|
<outlet property="preSharedKeyField" destination="wkY-3s-yTK" id="0Tn-cP-uXS"/>
|
|
<outlet property="publicKeyField" destination="RLw-0o-akQ" id="teS-po-0h2"/>
|
|
</connections>
|
|
</tableViewCell>
|
|
</prototypes>
|
|
<connections>
|
|
<outlet property="dataSource" destination="0VM-73-EPX" id="f9B-xZ-gS4"/>
|
|
<outlet property="delegate" destination="0VM-73-EPX" id="oHt-UY-XIz"/>
|
|
</connections>
|
|
</tableView>
|
|
<navigationItem key="navigationItem" title="Tunnel settings" id="PPu-rX-T38">
|
|
<rightBarButtonItems>
|
|
<barButtonItem image="settings" id="Ph6-EV-NlT">
|
|
<connections>
|
|
<action selector="showSettings:" destination="0VM-73-EPX" id="wx3-3w-OhG"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
<barButtonItem systemItem="save" id="mft-1l-bWa">
|
|
<connections>
|
|
<action selector="saveTunnelConfiguration:" destination="0VM-73-EPX" id="Hni-0w-hFF"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
</rightBarButtonItems>
|
|
</navigationItem>
|
|
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
|
|
<connections>
|
|
<outlet property="saveButton" destination="mft-1l-bWa" id="Uif-KZ-isx"/>
|
|
</connections>
|
|
</tableViewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="j96-PK-ghN" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="-671" y="-1262"/>
|
|
</scene>
|
|
<!--Tunnel info-->
|
|
<scene sceneID="jJx-Qm-bKA">
|
|
<objects>
|
|
<tableViewController storyboardIdentifier="TunnelInfoTableViewController" hidesBottomBarWhenPushed="YES" useStoryboardIdentifierAsRestorationIdentifier="YES" id="h8W-vj-IcI" customClass="TunnelInfoTableViewController" customModule="WireGuard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="I7I-Kf-A49">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
|
|
<prototypes>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="InterfaceInfoTableViewCell" rowHeight="268" id="4nk-ch-nYS" customClass="InterfaceInfoTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="28" width="375" height="268"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="4nk-ch-nYS" id="eBg-fg-M9P">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="267.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="14" translatesAutoresizingMaskIntoConstraints="NO" id="LbD-1j-3B4">
|
|
<rect key="frame" x="16" y="11" width="343" height="246"/>
|
|
<subviews>
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Sa-Tj-Ueo">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="51"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Interface" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qcg-LJ-nRV">
|
|
<rect key="frame" x="0.0" y="15.5" width="286" height="20.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="odM-GH-fla">
|
|
<rect key="frame" x="294" y="10" width="51" height="31"/>
|
|
<connections>
|
|
<action selector="tunnelSwitchChanged:" destination="4nk-ch-nYS" eventType="valueChanged" id="u0k-RB-DqP"/>
|
|
</connections>
|
|
</switch>
|
|
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="EcT-Wp-yDm">
|
|
<rect key="frame" x="308" y="15.5" width="20" height="20"/>
|
|
</activityIndicatorView>
|
|
</subviews>
|
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<constraints>
|
|
<constraint firstItem="EcT-Wp-yDm" firstAttribute="centerY" secondItem="9Sa-Tj-Ueo" secondAttribute="centerY" id="DcF-AC-6ha"/>
|
|
<constraint firstItem="odM-GH-fla" firstAttribute="centerY" secondItem="9Sa-Tj-Ueo" secondAttribute="centerY" id="Y9x-NO-H4S"/>
|
|
<constraint firstAttribute="trailing" secondItem="odM-GH-fla" secondAttribute="trailing" id="hMu-gM-CG1"/>
|
|
<constraint firstItem="odM-GH-fla" firstAttribute="leading" secondItem="Qcg-LJ-nRV" secondAttribute="trailing" constant="8" id="iDB-Jf-5Ad"/>
|
|
<constraint firstAttribute="trailing" secondItem="EcT-Wp-yDm" secondAttribute="trailing" constant="15" id="mDG-cy-oEG"/>
|
|
<constraint firstItem="Qcg-LJ-nRV" firstAttribute="centerY" secondItem="9Sa-Tj-Ueo" secondAttribute="centerY" id="piF-RV-qzI"/>
|
|
<constraint firstItem="Qcg-LJ-nRV" firstAttribute="leading" secondItem="9Sa-Tj-Ueo" secondAttribute="leading" id="vpU-wH-wQf"/>
|
|
</constraints>
|
|
</view>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="wJ9-cl-tZH">
|
|
<rect key="frame" x="0.0" y="65" width="343" height="51"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mov-bF-HkG">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t89-wK-B5h">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="gFw-bj-ygR"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Ao6-49-xJm">
|
|
<rect key="frame" x="0.0" y="130" width="343" height="51"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5W3-mw-rz8">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vWC-ql-O8v">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bCm-fp-MGf" customClass="CopyableLabel" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<gestureRecognizers/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="tj9-5o-wt9"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="bu6-xb-eu0">
|
|
<rect key="frame" x="0.0" y="195" width="343" height="51"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Addresses" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GWn-Of-NWj">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nxw-Kz-Bhj">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="Pzj-Qq-uXx"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="LbD-1j-3B4" firstAttribute="leading" secondItem="eBg-fg-M9P" secondAttribute="leadingMargin" id="MpF-dU-5q1"/>
|
|
<constraint firstItem="LbD-1j-3B4" firstAttribute="top" secondItem="eBg-fg-M9P" secondAttribute="topMargin" id="Zyd-bw-Q0S"/>
|
|
<constraint firstAttribute="bottomMargin" secondItem="LbD-1j-3B4" secondAttribute="bottom" id="vpm-rN-QXf"/>
|
|
<constraint firstAttribute="trailingMargin" secondItem="LbD-1j-3B4" secondAttribute="trailing" id="whd-a8-RKi"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
<connections>
|
|
<outlet property="activityIndicator" destination="EcT-Wp-yDm" id="0YQ-7s-ckk"/>
|
|
<outlet property="addressesField" destination="nxw-Kz-Bhj" id="e7Y-Z0-3Mk"/>
|
|
<outlet property="nameField" destination="t89-wK-B5h" id="6fz-z4-Gf5"/>
|
|
<outlet property="publicKeyField" destination="bCm-fp-MGf" id="O6Q-Tf-gKf"/>
|
|
<outlet property="tunnelSwitch" destination="odM-GH-fla" id="m31-9W-GgE"/>
|
|
</connections>
|
|
</tableViewCell>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="PeerInfoTableViewCell" rowHeight="268" id="E8O-dS-GmI" customClass="PeerInfoTableViewCell" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="296" width="375" height="268"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="E8O-dS-GmI" id="Igy-0b-NWe">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="267.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="14" translatesAutoresizingMaskIntoConstraints="NO" id="QR4-dk-gU5">
|
|
<rect key="frame" x="16" y="11" width="343" height="246"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Peer" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5qD-R9-tZb">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="51"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="1NC-ix-aSU">
|
|
<rect key="frame" x="0.0" y="65" width="343" height="51"/>
|
|
<subviews>
|
|
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7mv-Bm-kLf">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Public key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="quD-G5-mlN">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copied" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zGI-77-A75">
|
|
<rect key="frame" x="0.0" y="0.0" width="0.0" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.52156862749999999" green="0.21176470589999999" blue="0.1764705882" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QB9-fz-eN5" customClass="CopyableLabel" customModule="WireGuard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="T62-rA-BQP"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="1v9-H0-PWt">
|
|
<rect key="frame" x="0.0" y="130" width="343" height="51"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Allowed IPs" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3fw-zF-zA7">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h84-DM-thL">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="VAA-Cv-By1"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="2h1-6W-ZsL">
|
|
<rect key="frame" x="0.0" y="195" width="343" height="51"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Endpoint" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TYO-NN-8gk">
|
|
<rect key="frame" x="0.0" y="0.0" width="343" height="17.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
<color key="textColor" red="0.60784313729999995" green="0.60784313729999995" blue="0.60784313729999995" alpha="1" colorSpace="calibratedRGB"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pju-S6-5Ls">
|
|
<rect key="frame" x="0.0" y="17.5" width="343" height="33.5"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="33.5" id="hBg-pD-foN"/>
|
|
</constraints>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
</stackView>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="trailingMargin" secondItem="QR4-dk-gU5" secondAttribute="trailing" id="gEw-tD-Dbc"/>
|
|
<constraint firstItem="QR4-dk-gU5" firstAttribute="top" secondItem="Igy-0b-NWe" secondAttribute="topMargin" id="gH2-UQ-fHW"/>
|
|
<constraint firstItem="QR4-dk-gU5" firstAttribute="leading" secondItem="Igy-0b-NWe" secondAttribute="leadingMargin" id="nQT-10-aQB"/>
|
|
<constraint firstAttribute="bottomMargin" secondItem="QR4-dk-gU5" secondAttribute="bottom" id="uxe-Fp-xgz"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
<connections>
|
|
<outlet property="allowedIpsField" destination="h84-DM-thL" id="CR8-i3-y2q"/>
|
|
<outlet property="copiedStatusLabel" destination="zGI-77-A75" id="zev-Na-P2u"/>
|
|
<outlet property="endpointField" destination="pju-S6-5Ls" id="y3c-20-rkp"/>
|
|
<outlet property="publicKeyField" destination="QB9-fz-eN5" id="hfg-EO-IRw"/>
|
|
</connections>
|
|
</tableViewCell>
|
|
</prototypes>
|
|
<connections>
|
|
<outlet property="dataSource" destination="h8W-vj-IcI" id="BDC-pZ-8RJ"/>
|
|
<outlet property="delegate" destination="h8W-vj-IcI" id="Huk-uM-0lZ"/>
|
|
</connections>
|
|
</tableView>
|
|
<navigationItem key="navigationItem" title="Tunnel info" id="Eh1-Vi-78e">
|
|
<rightBarButtonItems>
|
|
<barButtonItem image="settings" id="OME-id-5vt">
|
|
<connections>
|
|
<action selector="showSettings:" destination="h8W-vj-IcI" id="mZN-SL-gZJ"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
<barButtonItem systemItem="edit" id="YRj-Ox-eKc">
|
|
<connections>
|
|
<action selector="editTunnelConfiguration:" destination="h8W-vj-IcI" id="f1k-Y6-4c3"/>
|
|
</connections>
|
|
</barButtonItem>
|
|
</rightBarButtonItems>
|
|
</navigationItem>
|
|
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
|
|
<connections>
|
|
<outlet property="editButton" destination="YRj-Ox-eKc" id="nIf-WD-pml"/>
|
|
</connections>
|
|
</tableViewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="cXx-q2-SBO" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="-671" y="-469"/>
|
|
</scene>
|
|
<!--Scan Code-->
|
|
<scene sceneID="gKN-k2-HoW">
|
|
<objects>
|
|
<viewController storyboardIdentifier="QRScanViewController" hidesBottomBarWhenPushed="YES" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Efe-yN-iDH" customClass="QRScanViewController" customModule="WireGuard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<view key="view" contentMode="scaleToFill" id="NXo-On-ea8">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tip: generate with `qrencode -t ansiutf8 < tunnel.conf`" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XYc-tx-YNF">
|
|
<rect key="frame" x="16" y="628.5" width="343" height="14.5"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
<constraints>
|
|
<constraint firstItem="Soo-c9-MsX" firstAttribute="bottom" secondItem="XYc-tx-YNF" secondAttribute="bottom" constant="24" id="QhS-p5-jbw"/>
|
|
<constraint firstItem="XYc-tx-YNF" firstAttribute="leading" secondItem="NXo-On-ea8" secondAttribute="leading" constant="16" id="Y3P-Py-ueV"/>
|
|
<constraint firstAttribute="trailing" secondItem="XYc-tx-YNF" secondAttribute="trailing" constant="16" id="sB1-h9-ueh"/>
|
|
</constraints>
|
|
<viewLayoutGuide key="safeArea" id="Soo-c9-MsX"/>
|
|
</view>
|
|
<navigationItem key="navigationItem" title="Scan Code" largeTitleDisplayMode="always" id="WGY-tY-ySz"/>
|
|
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
|
|
</viewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="TQ2-zp-o40" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="162" y="793"/>
|
|
</scene>
|
|
<!--Settings-->
|
|
<scene sceneID="LLL-0v-1Z9">
|
|
<objects>
|
|
<tableViewController storyboardIdentifier="SettingsTableViewController" hidesBottomBarWhenPushed="YES" id="0L2-ND-Twh" customClass="SettingsTableViewController" customModule="WireGuard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="xce-Ka-TsV">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
|
<imageView key="tableFooterView" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wireguard" id="s2Q-Rh-mqC">
|
|
<rect key="frame" x="0.0" y="261.5" width="375" height="55"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
|
</imageView>
|
|
<sections>
|
|
<tableViewSection headerTitle="Version Information" id="zRZ-jm-jpm">
|
|
<cells>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="4T9-BK-cKk">
|
|
<rect key="frame" x="0.0" y="55.5" width="375" height="44"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="4T9-BK-cKk" id="oh2-fj-cpB">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="WireGuard for iOS" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="9LF-1X-BRX">
|
|
<rect key="frame" x="16" y="11.5" width="139" height="21"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(x.y.z)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="64F-sz-1fb">
|
|
<rect key="frame" x="313" y="11.5" width="46" height="21"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="9LF-1X-BRX" firstAttribute="centerY" secondItem="oh2-fj-cpB" secondAttribute="centerY" id="0vh-j4-spD"/>
|
|
<constraint firstItem="64F-sz-1fb" firstAttribute="centerY" secondItem="oh2-fj-cpB" secondAttribute="centerY" id="30t-Be-YBk"/>
|
|
<constraint firstItem="64F-sz-1fb" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="9LF-1X-BRX" secondAttribute="trailing" constant="16" id="Nl3-vZ-7lQ"/>
|
|
<constraint firstItem="9LF-1X-BRX" firstAttribute="leading" secondItem="oh2-fj-cpB" secondAttribute="leadingMargin" id="atb-WE-sm5"/>
|
|
<constraint firstItem="64F-sz-1fb" firstAttribute="trailing" secondItem="oh2-fj-cpB" secondAttribute="trailingMargin" id="omW-fc-mV3"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
</tableViewCell>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="7To-1u-V41">
|
|
<rect key="frame" x="0.0" y="99.5" width="375" height="44"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7To-1u-V41" id="R1k-wj-XjQ">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Go userspace backend" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="ZrW-kK-iNG">
|
|
<rect key="frame" x="16" y="11.5" width="175.5" height="21"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(x.y.z)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZLF-fc-FG0">
|
|
<rect key="frame" x="313" y="11.5" width="46" height="21"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="ZLF-fc-FG0" firstAttribute="centerY" secondItem="R1k-wj-XjQ" secondAttribute="centerY" id="COd-8Q-MkD"/>
|
|
<constraint firstItem="ZLF-fc-FG0" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="ZrW-kK-iNG" secondAttribute="trailing" constant="16" id="mZA-b5-OXz"/>
|
|
<constraint firstItem="ZrW-kK-iNG" firstAttribute="leading" secondItem="R1k-wj-XjQ" secondAttribute="leadingMargin" id="v9L-hc-VeV"/>
|
|
<constraint firstItem="ZLF-fc-FG0" firstAttribute="trailing" secondItem="R1k-wj-XjQ" secondAttribute="trailingMargin" id="vbt-K7-zSd"/>
|
|
<constraint firstItem="ZrW-kK-iNG" firstAttribute="centerY" secondItem="R1k-wj-XjQ" secondAttribute="centerY" id="zMO-S4-aZv"/>
|
|
</constraints>
|
|
</tableViewCellContentView>
|
|
</tableViewCell>
|
|
</cells>
|
|
</tableViewSection>
|
|
<tableViewSection headerTitle="Export" id="A0i-t0-uNU">
|
|
<cells>
|
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="Xti-BC-KTP" detailTextLabel="qYk-Nl-mLx" style="IBUITableViewCellStyleSubtitle" id="J1T-67-jcC">
|
|
<rect key="frame" x="0.0" y="199.5" width="375" height="44"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="J1T-67-jcC" id="OTJ-zk-hYF">
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Export tunnels to zip file" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Xti-BC-KTP">
|
|
<rect key="frame" x="16" y="5" width="185" height="20.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Zip file should be shared with a location for storage." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="qYk-Nl-mLx">
|
|
<rect key="frame" x="16" y="25.5" width="294.5" height="14.5"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
|
<nil key="textColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
</tableViewCellContentView>
|
|
</tableViewCell>
|
|
</cells>
|
|
</tableViewSection>
|
|
</sections>
|
|
<connections>
|
|
<outlet property="dataSource" destination="0L2-ND-Twh" id="iHC-iG-by3"/>
|
|
<outlet property="delegate" destination="0L2-ND-Twh" id="nAg-yY-JmZ"/>
|
|
</connections>
|
|
</tableView>
|
|
<navigationItem key="navigationItem" title="Settings" id="jxD-pO-Xgu"/>
|
|
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
|
|
<connections>
|
|
<outlet property="exportCell" destination="J1T-67-jcC" id="VZX-ue-ZCE"/>
|
|
<outlet property="goVersionInfoCell" destination="7To-1u-V41" id="CeX-R9-6Qh"/>
|
|
<outlet property="goVersionInfoLabel" destination="ZLF-fc-FG0" id="5si-K0-QJL"/>
|
|
<outlet property="versionInfoCell" destination="4T9-BK-cKk" id="QrQ-73-Cpq"/>
|
|
<outlet property="versionInfoLabel" destination="64F-sz-1fb" id="O1J-1X-GvV"/>
|
|
</connections>
|
|
</tableViewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="DXL-eC-zr0" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="726" y="-469"/>
|
|
</scene>
|
|
</scenes>
|
|
<resources>
|
|
<image name="settings" width="4" height="13"/>
|
|
<image name="trash" width="14" height="18"/>
|
|
<image name="wireguard" width="1875" height="334"/>
|
|
</resources>
|
|
<color key="tintColor" red="0.53333333333333333" green="0.090196078431372548" blue="0.10196078431372549" alpha="1" colorSpace="calibratedRGB"/>
|
|
</document>
|