Corrected outlets
This commit is contained in:
@@ -18,6 +18,10 @@ class AddAlarmViewController: UIViewController
|
|||||||
scrollView.contentSize = scrollViewInner.frame.size
|
scrollView.contentSize = scrollViewInner.frame.size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBOutlet weak var repeatWeekdaysSwitch: UISwitch!
|
||||||
|
@IBOutlet weak var repeatWeekendsSwitch: UISwitch!
|
||||||
|
|
||||||
|
|
||||||
// Pickers
|
// Pickers
|
||||||
@IBOutlet weak var timePicker: UIDatePicker!
|
@IBOutlet weak var timePicker: UIDatePicker!
|
||||||
@IBOutlet weak var wvmPicker: UIPickerView!
|
@IBOutlet weak var wvmPicker: UIPickerView!
|
||||||
@@ -26,10 +30,7 @@ class AddAlarmViewController: UIViewController
|
|||||||
}
|
}
|
||||||
@IBAction func soundLibraryButton(_ sender: Any) {
|
@IBAction func soundLibraryButton(_ sender: Any) {
|
||||||
}
|
}
|
||||||
@IBAction func repeatWeekdaysSwitch(_ sender: Any) {
|
|
||||||
}
|
|
||||||
@IBAction func repeatWeekendsSwitch(_ sender: Any) {
|
|
||||||
}
|
|
||||||
|
|
||||||
override func viewDidLoad()
|
override func viewDidLoad()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -459,14 +459,14 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="374" height="30"/>
|
<rect key="frame" x="0.0" y="0.0" width="374" height="30"/>
|
||||||
<state key="normal" title="Pick From iOS Default Ringtones"/>
|
<state key="normal" title="Pick From iOS Default Ringtones"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="defaultRingtonesButton:" destination="Mki-dC-5Kc" eventType="touchUpInside" id="JX9-Go-ghq"/>
|
<action selector="defaultRingtonesButton:" destination="Mki-dC-5Kc" eventType="touchUpInside" id="0oM-fE-Gyh"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A3Z-Qp-XmN">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A3Z-Qp-XmN">
|
||||||
<rect key="frame" x="0.0" y="30" width="374" height="30"/>
|
<rect key="frame" x="0.0" y="30" width="374" height="30"/>
|
||||||
<state key="normal" title="Pick From Sound Library"/>
|
<state key="normal" title="Pick From Sound Library"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="soundLibraryButton:" destination="Mki-dC-5Kc" eventType="touchUpInside" id="veu-vV-1UQ"/>
|
<action selector="soundLibraryButton:" destination="Mki-dC-5Kc" eventType="touchUpInside" id="5G8-FV-bDx"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
@@ -503,9 +503,6 @@
|
|||||||
</label>
|
</label>
|
||||||
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5oN-BL-Xtu">
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5oN-BL-Xtu">
|
||||||
<rect key="frame" x="285" y="0.0" width="51" height="31"/>
|
<rect key="frame" x="285" y="0.0" width="51" height="31"/>
|
||||||
<connections>
|
|
||||||
<action selector="repeatWeekdaysSwitch:" destination="Mki-dC-5Kc" eventType="valueChanged" id="eTz-Au-uMG"/>
|
|
||||||
</connections>
|
|
||||||
</switch>
|
</switch>
|
||||||
</subviews>
|
</subviews>
|
||||||
</stackView>
|
</stackView>
|
||||||
@@ -520,9 +517,6 @@
|
|||||||
</label>
|
</label>
|
||||||
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WPM-Fh-sRB">
|
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WPM-Fh-sRB">
|
||||||
<rect key="frame" x="285" y="0.0" width="51" height="31"/>
|
<rect key="frame" x="285" y="0.0" width="51" height="31"/>
|
||||||
<connections>
|
|
||||||
<action selector="repeatWeekendsSwitch:" destination="Mki-dC-5Kc" eventType="valueChanged" id="WaZ-8P-yyC"/>
|
|
||||||
</connections>
|
|
||||||
</switch>
|
</switch>
|
||||||
</subviews>
|
</subviews>
|
||||||
</stackView>
|
</stackView>
|
||||||
@@ -587,6 +581,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="Ydw-dw-vLC"/>
|
<navigationItem key="navigationItem" id="Ydw-dw-vLC"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="repeatWeekdaysSwitch" destination="5oN-BL-Xtu" id="gqb-l3-1jZ"/>
|
||||||
|
<outlet property="repeatWeekendsSwitch" destination="WPM-Fh-sRB" id="LB7-zW-jpC"/>
|
||||||
<outlet property="scrollView" destination="ybc-8d-6pJ" id="m1B-ff-zeC"/>
|
<outlet property="scrollView" destination="ybc-8d-6pJ" id="m1B-ff-zeC"/>
|
||||||
<outlet property="scrollViewInner" destination="N7f-vi-SFU" id="LQW-6T-f6x"/>
|
<outlet property="scrollViewInner" destination="N7f-vi-SFU" id="LQW-6T-f6x"/>
|
||||||
<outlet property="timePicker" destination="qSt-1V-2DQ" id="aDM-jE-0OP"/>
|
<outlet property="timePicker" destination="qSt-1V-2DQ" id="aDM-jE-0OP"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user