Wire up TunnelConfigurationTableViewController.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts
2018-05-27 22:38:44 +02:00
parent 14cb55dd8b
commit 1407090f94
3 changed files with 147 additions and 7 deletions
+48 -2
View File
@@ -117,6 +117,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="TuA-ac-TIy"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -137,10 +140,13 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="7YF-mU-HZT"/>
</connections>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C1M-bh-5mf">
<rect key="frame" x="240" y="0.0" width="103" height="30"/>
<state key="normal" title="Button"/>
<state key="normal" title="Generate"/>
</button>
</subviews>
</stackView>
@@ -160,6 +166,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="apT-gO-mcr"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -180,6 +189,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="CUZ-nd-ETQ"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -197,6 +209,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="YZ0-LC-PjW"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -219,6 +234,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="YjV-8W-z5Q"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -236,6 +254,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="06N-KU-LSv" id="F1E-lK-AsD"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -267,6 +288,9 @@
<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="RyR-s5-lBV" eventType="touchUpInside" id="Aug-zc-lQ6"/>
</connections>
</button>
</subviews>
<constraints>
@@ -322,6 +346,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="gzz-88-0IG" id="bkQ-Nc-VH4"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -339,6 +366,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="gzz-88-0IG" id="oAu-VZ-2dn"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -356,6 +386,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="gzz-88-0IG" id="DXo-0s-9sc"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -376,6 +409,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="gzz-88-0IG" id="PLB-sa-SBV"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -393,6 +429,9 @@
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="gzz-88-0IG" id="sbH-Sb-rcW"/>
</connections>
</textField>
</subviews>
</stackView>
@@ -419,9 +458,16 @@
</connections>
</tableView>
<navigationItem key="navigationItem" title="Tunnel settings" id="PPu-rX-T38">
<barButtonItem key="rightBarButtonItem" systemItem="save" id="mft-1l-bWa"/>
<barButtonItem key="rightBarButtonItem" systemItem="save" id="mft-1l-bWa">
<connections>
<action selector="saveTunnelConfiguration:" destination="0VM-73-EPX" id="Hni-0w-hFF"/>
</connections>
</barButtonItem>
</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>