Skip to content

Commit 9013050

Browse files
committed
hehe
1 parent 1ecc236 commit 9013050

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

SciTool/Base.lproj/Main.storyboard

+8
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,14 @@
11981198
<scroller key="verticalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="33U-Ua-z94">
11991199
<rect key="frame" x="278" y="0.0" width="15" height="343"/>
12001200
<autoresizingMask key="autoresizingMask"/>
1201+
<connections>
1202+
<binding destination="OyW-Yd-7mm" name="value" keyPath="self.representedObject" id="6Pz-Rh-cOd">
1203+
<dictionary key="options">
1204+
<bool key="NSAlwaysPresentsApplicationModalAlerts" value="YES"/>
1205+
<bool key="NSValidatesImmediately" value="YES"/>
1206+
</dictionary>
1207+
</binding>
1208+
</connections>
12011209
</scroller>
12021210
</scrollView>
12031211
</subviews>

SciTool/ViewController.swift

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ class EquipotViewController: NSViewController {
8787
print("ok cool we're in business")
8888
if let _ = scrollViewHelp {
8989
print("ok cool we really are in business")
90+
print(representedObject)
9091
}
9192
// Do any additional setup after loading the view.
9293
}
@@ -124,6 +125,8 @@ class EquipotViewController: NSViewController {
124125

125126
@IBOutlet weak var helpButton: NSButton!
126127

128+
129+
127130
@IBAction func saveImgAs(sender: Any?)
128131
{
129132

0 commit comments

Comments
 (0)