Skip to content

Commit 44d0701

Browse files
author
Steve Trease
committed
start link layer feature
1 parent 6628561 commit 44d0701

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

IP Address/Base.lproj/Main.storyboard

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@
105105
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="fill" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6Ys-Jh-a0y">
106106
<rect key="frame" x="44.666666666666686" y="0.0" width="51" height="0.0"/>
107107
<color key="onTintColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
108+
<connections>
109+
<action selector="switchToggled:" destination="BYZ-38-t0r" eventType="primaryActionTriggered" id="7MP-d9-PXP"/>
110+
</connections>
108111
</switch>
109112
</subviews>
110113
</stackView>
@@ -129,6 +132,7 @@
129132
<connections>
130133
<outlet property="IPv4filterSwitch" destination="4D9-QY-Z7f" id="isA-GW-TSe"/>
131134
<outlet property="IPv6filterSwitch" destination="k1l-3t-xif" id="lvu-W6-Qvh"/>
135+
<outlet property="linkLayerfilterSwitch" destination="6Ys-Jh-a0y" id="eEf-5X-skh"/>
132136
<outlet property="tableView" destination="ATv-ck-YdY" id="aCH-cM-tuT"/>
133137
</connections>
134138
</viewController>

IP Address/ViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSour
1414
@IBOutlet var tableView: UITableView!
1515
@IBOutlet var IPv4filterSwitch: UISwitch!
1616
@IBOutlet var IPv6filterSwitch: UISwitch!
17+
@IBOutlet var linkLayerfilterSwitch: UISwitch!
1718

1819

1920
var interfaces = Interface.allInterfaces()

0 commit comments

Comments
 (0)