Browse Source

New flashing ticker option.

v1.4.1
Abhishek Banthia 8 years ago
parent
commit
c36cedef46
  1. BIN
      Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate
  2. 4
      Clocker/Appearance Tab/CLAppearanceViewController.m
  3. 130
      Clocker/Appearance Tab/en.lproj/CLAppearanceView.xib
  4. 2
      Clocker/StatusItemView.h
  5. 22
      Clocker/StatusItemView.m
  6. 1
      Clocker/Utilities/CommonStrings.h
  7. 1
      Clocker/Utilities/CommonStrings.m

BIN
Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

4
Clocker/Appearance Tab/CLAppearanceViewController.m

@ -177,4 +177,8 @@ typedef NS_ENUM(NSUInteger, CLClockerMode) {
[Answers logCustomEventWithName:@"Display Time With Seconds" customAttributes:@{@"Displayed" : sender.selectedSegment == 0 ? @"YES" : @"NO"}]; [Answers logCustomEventWithName:@"Display Time With Seconds" customAttributes:@{@"Displayed" : sender.selectedSegment == 0 ? @"YES" : @"NO"}];
} }
- (IBAction)flashTheTimeSeperators:(NSSegmentedControl *)sender {
[Answers logCustomEventWithName:@"Flashing Time Seperators" customAttributes:@{@"Displayed" : sender.selectedSegment == 0 ? @"YES" : @"NO"}];
}
@end @end

130
Clocker/Appearance Tab/en.lproj/CLAppearanceView.xib

@ -17,11 +17,11 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView wantsLayer="YES" id="Hz6-mo-xeY"> <customView wantsLayer="YES" id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="585" height="555"/> <rect key="frame" x="0.0" y="0.0" width="585" height="598"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews> <subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="60" translatesAutoresizingMaskIntoConstraints="NO" id="iVw-cq-zLz"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="60" translatesAutoresizingMaskIntoConstraints="NO" id="iVw-cq-zLz">
<rect key="frame" x="126" y="456" width="64" height="18"/> <rect key="frame" x="126" y="499" width="64" height="18"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="18" id="2DP-wK-Ga8"/> <constraint firstAttribute="height" constant="18" id="2DP-wK-Ga8"/>
<constraint firstAttribute="width" constant="60" id="KEa-ei-G2i"/> <constraint firstAttribute="width" constant="60" id="KEa-ei-G2i"/>
@ -33,7 +33,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<segmentedControl toolTip="Choose a theme for the main panel!" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5tI-fU-0lZ"> <segmentedControl toolTip="Choose a theme for the main panel!" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5tI-fU-0lZ">
<rect key="frame" x="213" y="451" width="147" height="24"/> <rect key="frame" x="213" y="494" width="147" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="143" id="dW5-vG-EwD"/> <constraint firstAttribute="width" constant="143" id="dW5-vG-EwD"/>
</constraints> </constraints>
@ -50,7 +50,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="YQi-x8-6f8"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="YQi-x8-6f8">
<rect key="frame" x="53" y="412" width="137" height="20"/> <rect key="frame" x="53" y="455" width="137" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="20" id="eY8-bV-QLM"/> <constraint firstAttribute="height" constant="20" id="eY8-bV-QLM"/>
<constraint firstAttribute="width" constant="133" id="n8S-fR-UtY"/> <constraint firstAttribute="width" constant="133" id="n8S-fR-UtY"/>
@ -62,7 +62,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<segmentedControl toolTip="Select a time-format!" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OrL-Ix-fmY"> <segmentedControl toolTip="Select a time-format!" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OrL-Ix-fmY">
<rect key="frame" x="213" y="488" width="236" height="24"/> <rect key="frame" x="213" y="531" width="236" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="232" id="uOJ-Mi-Fin"/> <constraint firstAttribute="width" constant="232" id="uOJ-Mi-Fin"/>
</constraints> </constraints>
@ -79,7 +79,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="3d9-qg-dNb"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="3d9-qg-dNb">
<rect key="frame" x="203" y="160" width="179" height="22"/> <rect key="frame" x="203" y="203" width="179" height="22"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="22" id="MdL-Dh-02n"/> <constraint firstAttribute="height" constant="22" id="MdL-Dh-02n"/>
<constraint firstAttribute="width" constant="175" id="hHO-Wa-gmc"/> <constraint firstAttribute="width" constant="175" id="hHO-Wa-gmc"/>
@ -91,7 +91,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="pqa-Qg-U8Y"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="pqa-Qg-U8Y">
<rect key="frame" x="11" y="126" width="179" height="20"/> <rect key="frame" x="11" y="169" width="179" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="175" id="B2I-0j-0W0"/> <constraint firstAttribute="width" constant="175" id="B2I-0j-0W0"/>
<constraint firstAttribute="height" constant="20" id="SA9-20-fCp"/> <constraint firstAttribute="height" constant="20" id="SA9-20-fCp"/>
@ -106,7 +106,7 @@
</connections> </connections>
</textField> </textField>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="atA-2r-FXV"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="atA-2r-FXV">
<rect key="frame" x="216" y="125" width="84" height="24"/> <rect key="frame" x="216" y="168" width="84" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="21" id="BqM-4F-6Ta"/> <constraint firstAttribute="height" constant="21" id="BqM-4F-6Ta"/>
<constraint firstAttribute="width" constant="80" id="ZeK-lO-tUa"/> <constraint firstAttribute="width" constant="80" id="ZeK-lO-tUa"/>
@ -124,7 +124,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="kEn-QZ-niZ"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="kEn-QZ-niZ">
<rect key="frame" x="11" y="75" width="179" height="22"/> <rect key="frame" x="11" y="118" width="179" height="22"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="22" id="2fd-f6-8cD"/> <constraint firstAttribute="height" constant="22" id="2fd-f6-8cD"/>
<constraint firstAttribute="width" constant="175" id="D0w-xz-gkw"/> <constraint firstAttribute="width" constant="175" id="D0w-xz-gkw"/>
@ -139,7 +139,7 @@
</connections> </connections>
</textField> </textField>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="72r-oi-X0f"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="72r-oi-X0f">
<rect key="frame" x="213" y="368" width="79" height="24"/> <rect key="frame" x="213" y="411" width="79" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="75" id="H8w-wg-vel"/> <constraint firstAttribute="width" constant="75" id="H8w-wg-vel"/>
</constraints> </constraints>
@ -156,7 +156,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="14F-6y-MaJ"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="14F-6y-MaJ">
<rect key="frame" x="213" y="286" width="79" height="24"/> <rect key="frame" x="213" y="329" width="79" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="75" id="XbD-oF-Vod"/> <constraint firstAttribute="width" constant="75" id="XbD-oF-Vod"/>
</constraints> </constraints>
@ -173,7 +173,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="HTZ-1V-qZb"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="HTZ-1V-qZb">
<rect key="frame" x="66" y="372" width="124" height="20"/> <rect key="frame" x="66" y="415" width="124" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="120" id="1Lv-wC-hEM"/> <constraint firstAttribute="width" constant="120" id="1Lv-wC-hEM"/>
</constraints> </constraints>
@ -184,7 +184,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="76h-05-go1"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="76h-05-go1">
<rect key="frame" x="66" y="331" width="124" height="20"/> <rect key="frame" x="66" y="374" width="124" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="120" id="Odw-mb-nT5"/> <constraint firstAttribute="width" constant="120" id="Odw-mb-nT5"/>
</constraints> </constraints>
@ -195,10 +195,10 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="MHe-dB-GZr"> <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="MHe-dB-GZr">
<rect key="frame" x="0.0" y="188" width="585" height="5"/> <rect key="frame" x="0.0" y="231" width="585" height="5"/>
</box> </box>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JR8-v7-K0w"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JR8-v7-K0w">
<rect key="frame" x="216" y="24" width="84" height="24"/> <rect key="frame" x="216" y="67" width="84" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="21" id="Xof-eY-ZUl"/> <constraint firstAttribute="height" constant="21" id="Xof-eY-ZUl"/>
<constraint firstAttribute="width" constant="80" id="msH-Xd-mrp"/> <constraint firstAttribute="width" constant="80" id="msH-Xd-mrp"/>
@ -216,7 +216,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="X5s-Mc-Yfo"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="X5s-Mc-Yfo">
<rect key="frame" x="203" y="529" width="179" height="18"/> <rect key="frame" x="203" y="572" width="179" height="18"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="175" id="YaE-Og-A4W"/> <constraint firstAttribute="width" constant="175" id="YaE-Og-A4W"/>
<constraint firstAttribute="height" constant="18" id="bTT-ve-oW9"/> <constraint firstAttribute="height" constant="18" id="bTT-ve-oW9"/>
@ -228,7 +228,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1eh-BT-2fK"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1eh-BT-2fK">
<rect key="frame" x="213" y="410" width="129" height="24"/> <rect key="frame" x="213" y="453" width="129" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="125" id="u9T-ks-rqA"/> <constraint firstAttribute="width" constant="125" id="u9T-ks-rqA"/>
</constraints> </constraints>
@ -245,7 +245,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SbG-Qh-ziy"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SbG-Qh-ziy">
<rect key="frame" x="213" y="327" width="334" height="24"/> <rect key="frame" x="213" y="370" width="334" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="330" id="T2D-fB-93g"/> <constraint firstAttribute="width" constant="330" id="T2D-fB-93g"/>
</constraints> </constraints>
@ -262,7 +262,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="f2Q-vO-MPo"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="f2Q-vO-MPo">
<rect key="frame" x="23" y="248" width="167" height="20"/> <rect key="frame" x="23" y="291" width="167" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="163" id="vKf-lb-QeN"/> <constraint firstAttribute="width" constant="163" id="vKf-lb-QeN"/>
</constraints> </constraints>
@ -272,8 +272,16 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell> </textFieldCell>
</textField> </textField>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="YhF-Ej-nK4">
<rect key="frame" x="217" y="243" width="18" height="28"/>
<constraints>
<constraint firstAttribute="height" constant="28" id="zYn-8T-Fdr"/>
<constraint firstAttribute="width" constant="18" id="zxG-Oo-Uti"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSFontPanel" id="cq7-TL-C6e"/>
</imageView>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ldk-to-zYd"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ldk-to-zYd">
<rect key="frame" x="213" y="245" width="82" height="24"/> <rect key="frame" x="213" y="288" width="82" height="24"/>
<segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="bca-wW-eJM"> <segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="bca-wW-eJM">
<font key="font" size="12" name="HelveticaNeue-Light"/> <font key="font" size="12" name="HelveticaNeue-Light"/>
<segments> <segments>
@ -287,7 +295,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="R46-6I-vYT"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="R46-6I-vYT">
<rect key="frame" x="46" y="288" width="144" height="20"/> <rect key="frame" x="46" y="331" width="144" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="140" id="3tu-Bf-MZ4"/> <constraint firstAttribute="width" constant="140" id="3tu-Bf-MZ4"/>
</constraints> </constraints>
@ -298,7 +306,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="5TC-RQ-gzI"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="5TC-RQ-gzI">
<rect key="frame" x="86" y="493" width="104" height="18"/> <rect key="frame" x="86" y="536" width="104" height="18"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="18" id="gWc-u4-D8E"/> <constraint firstAttribute="height" constant="18" id="gWc-u4-D8E"/>
<constraint firstAttribute="width" constant="100" id="nh0-5K-Aa0"/> <constraint firstAttribute="width" constant="100" id="nh0-5K-Aa0"/>
@ -310,7 +318,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XwV-hy-YiP"> <segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XwV-hy-YiP">
<rect key="frame" x="216" y="74" width="84" height="24"/> <rect key="frame" x="216" y="117" width="84" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="80" id="dBz-ZQ-BF1"/> <constraint firstAttribute="width" constant="80" id="dBz-ZQ-BF1"/>
<constraint firstAttribute="height" constant="21" id="y8c-hZ-MtI"/> <constraint firstAttribute="height" constant="21" id="y8c-hZ-MtI"/>
@ -328,7 +336,7 @@
</connections> </connections>
</segmentedControl> </segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="AV0-RE-Dcn"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="AV0-RE-Dcn">
<rect key="frame" x="11" y="30" width="179" height="18"/> <rect key="frame" x="11" y="73" width="179" height="18"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="18" id="63B-fX-neA"/> <constraint firstAttribute="height" constant="18" id="63B-fX-neA"/>
<constraint firstAttribute="width" constant="175" id="HpK-tm-aDg"/> <constraint firstAttribute="width" constant="175" id="HpK-tm-aDg"/>
@ -343,7 +351,7 @@
</connections> </connections>
</textField> </textField>
<slider verticalHuggingPriority="750" alphaValue="0.59999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="110-Qf-bgG"> <slider verticalHuggingPriority="750" alphaValue="0.59999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="110-Qf-bgG">
<rect key="frame" x="241" y="205" width="256" height="24"/> <rect key="frame" x="241" y="248" width="256" height="24"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="252" id="WyW-ga-f0f"/> <constraint firstAttribute="width" constant="252" id="WyW-ga-f0f"/>
</constraints> </constraints>
@ -353,7 +361,7 @@
</connections> </connections>
</slider> </slider>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="kG7-Ie-H4f"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="120" translatesAutoresizingMaskIntoConstraints="NO" id="kG7-Ie-H4f">
<rect key="frame" x="23" y="208" width="167" height="20"/> <rect key="frame" x="23" y="251" width="167" height="20"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="163" id="Tma-h6-JAz"/> <constraint firstAttribute="width" constant="163" id="Tma-h6-JAz"/>
</constraints> </constraints>
@ -363,27 +371,53 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell> </textFieldCell>
</textField> </textField>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="YhF-Ej-nK4">
<rect key="frame" x="217" y="200" width="18" height="28"/>
<constraints>
<constraint firstAttribute="height" constant="28" id="zYn-8T-Fdr"/>
<constraint firstAttribute="width" constant="18" id="zxG-Oo-Uti"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSFontPanel" id="cq7-TL-C6e"/>
</imageView>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dS9-c7-MxQ"> <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dS9-c7-MxQ">
<rect key="frame" x="503" y="189" width="40" height="52"/> <rect key="frame" x="503" y="232" width="40" height="52"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="52" id="btN-8s-pz3"/> <constraint firstAttribute="height" constant="52" id="btN-8s-pz3"/>
<constraint firstAttribute="width" constant="40" id="gXE-NP-DO0"/> <constraint firstAttribute="width" constant="40" id="gXE-NP-DO0"/>
</constraints> </constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSFontPanel" id="EBW-jh-OAK"/> <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSFontPanel" id="EBW-jh-OAK"/>
</imageView> </imageView>
<visualEffectView appearanceType="vibrantLight" blendingMode="behindWindow" material="light" state="followsWindowActiveState" translatesAutoresizingMaskIntoConstraints="NO" id="Zl7-KZ-ULi"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="175" translatesAutoresizingMaskIntoConstraints="NO" id="6Qk-z1-c4g">
<rect key="frame" x="0.0" y="0.0" width="585" height="191"/> <rect key="frame" x="11" y="23" width="179" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="175" id="IHG-ay-yWr"/>
<constraint firstAttribute="height" constant="18" id="YLb-Gl-nWx"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Flash the time seperators" id="Iim-zb-lDE">
<font key="font" size="13" name="HelveticaNeue-Light"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="enabled" keyPath="self.enableOptions" id="sF1-SJ-IKg"/>
</connections>
</textField>
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R4A-qX-fOD">
<rect key="frame" x="216" y="18" width="84" height="24"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="hJ0-NC-7rU"/>
<constraint firstAttribute="width" constant="80" id="vpo-os-ho4"/>
</constraints>
<segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="06M-UQ-dYt">
<font key="font" size="12" name="HelveticaNeue-Light"/>
<segments>
<segment label="Yes" width="38"/>
<segment label="No" width="38" selected="YES" tag="1"/>
</segments>
</segmentedCell>
<connections>
<action selector="flashTheTimeSeperators:" target="-2" id="upC-ce-9S9"/>
<binding destination="WGI-5h-l6M" name="selectedIndex" keyPath="values.flashSeperators" id="i8w-MC-Dcb"/>
<binding destination="-2" name="enabled" keyPath="self.enableOptions" id="9RN-gg-zc9"/>
</connections>
</segmentedControl>
<visualEffectView appearanceType="vibrantDark" blendingMode="behindWindow" material="light" state="followsWindowActiveState" translatesAutoresizingMaskIntoConstraints="NO" id="HQo-ib-sSb">
<rect key="frame" x="0.0" y="-7" width="585" height="241"/>
<subviews> <subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8En-R0-gDb"> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8En-R0-gDb">
<rect key="frame" x="25" y="81" width="536" height="30"/> <rect key="frame" x="25" y="106" width="536" height="30"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="532" id="EOs-22-kAR"/> <constraint firstAttribute="width" constant="532" id="EOs-22-kAR"/>
<constraint firstAttribute="height" constant="30" id="Gf9-wk-wsf"/> <constraint firstAttribute="height" constant="30" id="Gf9-wk-wsf"/>
@ -399,12 +433,11 @@
</textField> </textField>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstAttribute="height" constant="191" id="5gR-et-6El"/> <constraint firstItem="8En-R0-gDb" firstAttribute="centerX" secondItem="HQo-ib-sSb" secondAttribute="centerX" id="47K-D0-XlL"/>
<constraint firstItem="8En-R0-gDb" firstAttribute="centerY" secondItem="Zl7-KZ-ULi" secondAttribute="centerY" id="BNl-mB-JTz"/> <constraint firstItem="8En-R0-gDb" firstAttribute="centerY" secondItem="HQo-ib-sSb" secondAttribute="centerY" id="D0d-aI-0nj"/>
<constraint firstItem="8En-R0-gDb" firstAttribute="centerX" secondItem="Zl7-KZ-ULi" secondAttribute="centerX" id="d2S-8N-weN"/>
</constraints> </constraints>
<connections> <connections>
<binding destination="-2" name="hidden" keyPath="self.enableOptions" id="d2k-eq-Uv5"/> <binding destination="-2" name="hidden" keyPath="self.enableOptions" id="l0Q-tU-Pym"/>
</connections> </connections>
</visualEffectView> </visualEffectView>
</subviews> </subviews>
@ -418,6 +451,7 @@
<constraint firstItem="AV0-RE-Dcn" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="42G-Bz-thC"/> <constraint firstItem="AV0-RE-Dcn" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="42G-Bz-thC"/>
<constraint firstItem="JR8-v7-K0w" firstAttribute="leading" secondItem="AV0-RE-Dcn" secondAttribute="trailing" constant="30" id="4b2-I4-DY3"/> <constraint firstItem="JR8-v7-K0w" firstAttribute="leading" secondItem="AV0-RE-Dcn" secondAttribute="trailing" constant="30" id="4b2-I4-DY3"/>
<constraint firstItem="iVw-cq-zLz" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="128" id="5uc-bV-qZ4"/> <constraint firstItem="iVw-cq-zLz" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="128" id="5uc-bV-qZ4"/>
<constraint firstItem="6Qk-z1-c4g" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="6fO-SJ-AdR"/>
<constraint firstItem="kG7-Ie-H4f" firstAttribute="top" secondItem="f2Q-vO-MPo" secondAttribute="bottom" constant="20" id="9Te-aW-Vhq"/> <constraint firstItem="kG7-Ie-H4f" firstAttribute="top" secondItem="f2Q-vO-MPo" secondAttribute="bottom" constant="20" id="9Te-aW-Vhq"/>
<constraint firstItem="XwV-hy-YiP" firstAttribute="leading" secondItem="kEn-QZ-niZ" secondAttribute="trailing" constant="30" id="9cV-dY-bvk"/> <constraint firstItem="XwV-hy-YiP" firstAttribute="leading" secondItem="kEn-QZ-niZ" secondAttribute="trailing" constant="30" id="9cV-dY-bvk"/>
<constraint firstItem="14F-6y-MaJ" firstAttribute="leading" secondItem="R46-6I-vYT" secondAttribute="trailing" constant="27" id="9cx-2b-Fs7"/> <constraint firstItem="14F-6y-MaJ" firstAttribute="leading" secondItem="R46-6I-vYT" secondAttribute="trailing" constant="27" id="9cx-2b-Fs7"/>
@ -426,14 +460,18 @@
<constraint firstItem="ldk-to-zYd" firstAttribute="leading" secondItem="f2Q-vO-MPo" secondAttribute="trailing" constant="27" id="FIY-ue-9jm"/> <constraint firstItem="ldk-to-zYd" firstAttribute="leading" secondItem="f2Q-vO-MPo" secondAttribute="trailing" constant="27" id="FIY-ue-9jm"/>
<constraint firstItem="atA-2r-FXV" firstAttribute="top" secondItem="3d9-qg-dNb" secondAttribute="bottom" constant="12" id="FzK-Kq-gAo"/> <constraint firstItem="atA-2r-FXV" firstAttribute="top" secondItem="3d9-qg-dNb" secondAttribute="bottom" constant="12" id="FzK-Kq-gAo"/>
<constraint firstItem="SbG-Qh-ziy" firstAttribute="top" secondItem="72r-oi-X0f" secondAttribute="bottom" constant="20" id="GNY-9w-Fon"/> <constraint firstItem="SbG-Qh-ziy" firstAttribute="top" secondItem="72r-oi-X0f" secondAttribute="bottom" constant="20" id="GNY-9w-Fon"/>
<constraint firstAttribute="bottom" secondItem="HQo-ib-sSb" secondAttribute="bottom" constant="-7" id="Gig-GE-BQT"/>
<constraint firstItem="R46-6I-vYT" firstAttribute="top" secondItem="SbG-Qh-ziy" secondAttribute="bottom" constant="21" id="Hiy-x3-7hE"/> <constraint firstItem="R46-6I-vYT" firstAttribute="top" secondItem="SbG-Qh-ziy" secondAttribute="bottom" constant="21" id="Hiy-x3-7hE"/>
<constraint firstItem="HQo-ib-sSb" firstAttribute="top" secondItem="MHe-dB-GZr" secondAttribute="bottom" constant="-1" id="IBq-LV-XYf"/>
<constraint firstItem="MHe-dB-GZr" firstAttribute="top" secondItem="110-Qf-bgG" secondAttribute="bottom" constant="16" id="IwT-tl-ktf"/> <constraint firstItem="MHe-dB-GZr" firstAttribute="top" secondItem="110-Qf-bgG" secondAttribute="bottom" constant="16" id="IwT-tl-ktf"/>
<constraint firstAttribute="trailing" secondItem="HQo-ib-sSb" secondAttribute="trailing" id="Kx6-4r-dbs"/>
<constraint firstItem="f2Q-vO-MPo" firstAttribute="top" secondItem="14F-6y-MaJ" secondAttribute="bottom" constant="20" id="LgU-f5-W9a"/> <constraint firstItem="f2Q-vO-MPo" firstAttribute="top" secondItem="14F-6y-MaJ" secondAttribute="bottom" constant="20" id="LgU-f5-W9a"/>
<constraint firstItem="YhF-Ej-nK4" firstAttribute="leading" secondItem="kG7-Ie-H4f" secondAttribute="trailing" constant="29" id="Nqt-LV-E1Q"/> <constraint firstItem="YhF-Ej-nK4" firstAttribute="leading" secondItem="kG7-Ie-H4f" secondAttribute="trailing" constant="29" id="Nqt-LV-E1Q"/>
<constraint firstItem="X5s-Mc-Yfo" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="OeD-4K-q6Y"/> <constraint firstItem="X5s-Mc-Yfo" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="OeD-4K-q6Y"/>
<constraint firstItem="3d9-qg-dNb" firstAttribute="top" secondItem="MHe-dB-GZr" secondAttribute="bottom" constant="8" id="Oed-Un-siR"/> <constraint firstItem="3d9-qg-dNb" firstAttribute="top" secondItem="MHe-dB-GZr" secondAttribute="bottom" constant="8" id="Oed-Un-siR"/>
<constraint firstItem="HTZ-1V-qZb" firstAttribute="top" secondItem="1eh-BT-2fK" secondAttribute="bottom" constant="20" id="Ohx-zT-4Wu"/> <constraint firstItem="HTZ-1V-qZb" firstAttribute="top" secondItem="1eh-BT-2fK" secondAttribute="bottom" constant="20" id="Ohx-zT-4Wu"/>
<constraint firstItem="X5s-Mc-Yfo" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="PRU-TH-852"/> <constraint firstItem="X5s-Mc-Yfo" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="PRU-TH-852"/>
<constraint firstItem="6Qk-z1-c4g" firstAttribute="top" secondItem="AV0-RE-Dcn" secondAttribute="bottom" constant="32" id="QBj-mt-Ks3"/>
<constraint firstItem="dS9-c7-MxQ" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="6" id="Qmk-pf-bld"/> <constraint firstItem="dS9-c7-MxQ" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="6" id="Qmk-pf-bld"/>
<constraint firstItem="72r-oi-X0f" firstAttribute="top" secondItem="1eh-BT-2fK" secondAttribute="bottom" constant="21" id="Rju-VD-EVQ"/> <constraint firstItem="72r-oi-X0f" firstAttribute="top" secondItem="1eh-BT-2fK" secondAttribute="bottom" constant="21" id="Rju-VD-EVQ"/>
<constraint firstItem="MHe-dB-GZr" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="TyR-gg-RLi"/> <constraint firstItem="MHe-dB-GZr" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="TyR-gg-RLi"/>
@ -444,31 +482,31 @@
<constraint firstItem="ldk-to-zYd" firstAttribute="top" secondItem="14F-6y-MaJ" secondAttribute="bottom" constant="20" id="YQJ-AQ-AaB"/> <constraint firstItem="ldk-to-zYd" firstAttribute="top" secondItem="14F-6y-MaJ" secondAttribute="bottom" constant="20" id="YQJ-AQ-AaB"/>
<constraint firstItem="1eh-BT-2fK" firstAttribute="leading" secondItem="YQi-x8-6f8" secondAttribute="trailing" constant="27" id="YxA-gF-2C1"/> <constraint firstItem="1eh-BT-2fK" firstAttribute="leading" secondItem="YQi-x8-6f8" secondAttribute="trailing" constant="27" id="YxA-gF-2C1"/>
<constraint firstItem="R46-6I-vYT" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="48" id="aM3-jx-h9s"/> <constraint firstItem="R46-6I-vYT" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="48" id="aM3-jx-h9s"/>
<constraint firstAttribute="bottom" secondItem="Zl7-KZ-ULi" secondAttribute="bottom" id="bg1-Yp-QGg"/>
<constraint firstItem="5tI-fU-0lZ" firstAttribute="top" secondItem="iVw-cq-zLz" secondAttribute="bottom" constant="-18" id="bo6-s2-Vfj"/> <constraint firstItem="5tI-fU-0lZ" firstAttribute="top" secondItem="iVw-cq-zLz" secondAttribute="bottom" constant="-18" id="bo6-s2-Vfj"/>
<constraint firstItem="76h-05-go1" firstAttribute="top" secondItem="72r-oi-X0f" secondAttribute="bottom" constant="19" id="cgM-DZ-Mzt"/> <constraint firstItem="76h-05-go1" firstAttribute="top" secondItem="72r-oi-X0f" secondAttribute="bottom" constant="19" id="cgM-DZ-Mzt"/>
<constraint firstItem="110-Qf-bgG" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="18" id="dMs-8G-cPd"/> <constraint firstItem="110-Qf-bgG" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="18" id="dMs-8G-cPd"/>
<constraint firstAttribute="trailing" secondItem="Zl7-KZ-ULi" secondAttribute="trailing" id="eXh-iU-7qK"/>
<constraint firstItem="1eh-BT-2fK" firstAttribute="top" secondItem="5tI-fU-0lZ" secondAttribute="bottom" constant="20" id="euV-Th-hKu"/> <constraint firstItem="1eh-BT-2fK" firstAttribute="top" secondItem="5tI-fU-0lZ" secondAttribute="bottom" constant="20" id="euV-Th-hKu"/>
<constraint firstItem="HTZ-1V-qZb" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="68" id="hze-nB-VGS"/> <constraint firstItem="HTZ-1V-qZb" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="68" id="hze-nB-VGS"/>
<constraint firstAttribute="trailing" secondItem="MHe-dB-GZr" secondAttribute="trailing" id="jL7-Cv-YuY"/> <constraint firstAttribute="trailing" secondItem="MHe-dB-GZr" secondAttribute="trailing" id="jL7-Cv-YuY"/>
<constraint firstItem="kEn-QZ-niZ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="kIo-mO-HD7"/> <constraint firstItem="kEn-QZ-niZ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="kIo-mO-HD7"/>
<constraint firstItem="XwV-hy-YiP" firstAttribute="top" secondItem="atA-2r-FXV" secondAttribute="bottom" constant="30" id="mXv-fb-QQR"/> <constraint firstItem="XwV-hy-YiP" firstAttribute="top" secondItem="atA-2r-FXV" secondAttribute="bottom" constant="30" id="mXv-fb-QQR"/>
<constraint firstItem="R4A-qX-fOD" firstAttribute="top" secondItem="JR8-v7-K0w" secondAttribute="bottom" constant="28" id="n2V-Rs-cc9"/>
<constraint firstItem="110-Qf-bgG" firstAttribute="leading" secondItem="YhF-Ej-nK4" secondAttribute="trailing" constant="8" id="n5J-TZ-gmX"/> <constraint firstItem="110-Qf-bgG" firstAttribute="leading" secondItem="YhF-Ej-nK4" secondAttribute="trailing" constant="8" id="n5J-TZ-gmX"/>
<constraint firstItem="SbG-Qh-ziy" firstAttribute="leading" secondItem="76h-05-go1" secondAttribute="trailing" constant="27" id="nAt-t6-tt1"/> <constraint firstItem="SbG-Qh-ziy" firstAttribute="leading" secondItem="76h-05-go1" secondAttribute="trailing" constant="27" id="nAt-t6-tt1"/>
<constraint firstItem="HQo-ib-sSb" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="nrS-3d-aZh"/>
<constraint firstItem="14F-6y-MaJ" firstAttribute="top" secondItem="SbG-Qh-ziy" secondAttribute="bottom" constant="20" id="pVQ-xo-bc4"/> <constraint firstItem="14F-6y-MaJ" firstAttribute="top" secondItem="SbG-Qh-ziy" secondAttribute="bottom" constant="20" id="pVQ-xo-bc4"/>
<constraint firstItem="pqa-Qg-U8Y" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="pXe-Rk-xtZ"/> <constraint firstItem="pqa-Qg-U8Y" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="13" id="pXe-Rk-xtZ"/>
<constraint firstItem="AV0-RE-Dcn" firstAttribute="top" secondItem="XwV-hy-YiP" secondAttribute="bottom" constant="28" id="qdY-rp-pnQ"/> <constraint firstItem="AV0-RE-Dcn" firstAttribute="top" secondItem="XwV-hy-YiP" secondAttribute="bottom" constant="28" id="qdY-rp-pnQ"/>
<constraint firstItem="YhF-Ej-nK4" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="19" id="qfW-Zu-TC1"/> <constraint firstItem="YhF-Ej-nK4" firstAttribute="top" secondItem="ldk-to-zYd" secondAttribute="bottom" constant="19" id="qfW-Zu-TC1"/>
<constraint firstItem="R4A-qX-fOD" firstAttribute="leading" secondItem="6Qk-z1-c4g" secondAttribute="trailing" constant="30" id="raU-5w-5y9"/>
<constraint firstItem="OrL-Ix-fmY" firstAttribute="top" secondItem="5TC-RQ-gzI" secondAttribute="bottom" constant="-18" id="rpk-WN-DT9"/> <constraint firstItem="OrL-Ix-fmY" firstAttribute="top" secondItem="5TC-RQ-gzI" secondAttribute="bottom" constant="-18" id="rpk-WN-DT9"/>
<constraint firstItem="OrL-Ix-fmY" firstAttribute="leading" secondItem="5TC-RQ-gzI" secondAttribute="trailing" constant="27" id="v3g-9s-ueW"/> <constraint firstItem="OrL-Ix-fmY" firstAttribute="leading" secondItem="5TC-RQ-gzI" secondAttribute="trailing" constant="27" id="v3g-9s-ueW"/>
<constraint firstItem="Zl7-KZ-ULi" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="vLb-cV-kPq"/>
<constraint firstItem="kEn-QZ-niZ" firstAttribute="top" secondItem="atA-2r-FXV" secondAttribute="bottom" constant="30" id="vOW-py-FUO"/> <constraint firstItem="kEn-QZ-niZ" firstAttribute="top" secondItem="atA-2r-FXV" secondAttribute="bottom" constant="30" id="vOW-py-FUO"/>
<constraint firstItem="YQi-x8-6f8" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="55" id="xqh-U1-NDQ"/> <constraint firstItem="YQi-x8-6f8" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="55" id="xqh-U1-NDQ"/>
<constraint firstItem="JR8-v7-K0w" firstAttribute="top" secondItem="XwV-hy-YiP" secondAttribute="bottom" constant="29" id="yj8-uz-0km"/> <constraint firstItem="JR8-v7-K0w" firstAttribute="top" secondItem="XwV-hy-YiP" secondAttribute="bottom" constant="29" id="yj8-uz-0km"/>
<constraint firstItem="5TC-RQ-gzI" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="88" id="ypY-5V-LTC"/> <constraint firstItem="5TC-RQ-gzI" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="88" id="ypY-5V-LTC"/>
</constraints> </constraints>
<point key="canvasLocation" x="103.5" y="284.5"/> <point key="canvasLocation" x="103.5" y="306"/>
</customView> </customView>
<userDefaultsController representsSharedInstance="YES" id="WGI-5h-l6M"/> <userDefaultsController representsSharedInstance="YES" id="WGI-5h-l6M"/>
</objects> </objects>

2
Clocker/StatusItemView.h

@ -45,5 +45,7 @@
@property (nonatomic, readonly) NSRect globalRect; @property (nonatomic, readonly) NSRect globalRect;
@property (nonatomic) SEL action; @property (nonatomic) SEL action;
@property (nonatomic, unsafe_unretained) id target; @property (nonatomic, unsafe_unretained) id target;
@property (assign) BOOL flashingTicker;
@end @end

22
Clocker/StatusItemView.m

@ -54,6 +54,7 @@
if (self != nil) { if (self != nil) {
_statusItem = statusItem; _statusItem = statusItem;
_statusItem.view = self; _statusItem.view = self;
self.flashingTicker = NO;
} }
return self; return self;
} }
@ -77,8 +78,8 @@
CLTimezoneDataOperations *operationObject = [[CLTimezoneDataOperations alloc] initWithTimezoneData:timezoneObject]; CLTimezoneDataOperations *operationObject = [[CLTimezoneDataOperations alloc] initWithTimezoneData:timezoneObject];
textField.stringValue = [operationObject getMenuTitle]; textField.stringValue = [self textWithFlashingTicker:[operationObject getMenuTitle]];
textField.font = [NSFont monospacedDigitSystemFontOfSize:14.0 weight:0]; textField.font = [NSFont fontWithName:@"Menlo" size:13];
// Set up dark mode for icon // Set up dark mode for icon
if ([[[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"] isEqualToString:@"Dark"]) if ([[[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"] isEqualToString:@"Dark"])
@ -124,6 +125,23 @@
fraction:1.0]; fraction:1.0];
} }
- (NSString *)textWithFlashingTicker:(NSString *)originalText
{
self.flashingTicker = !self.flashingTicker;
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
NSNumber *flashingSeperators = [userDefaults objectForKey:CLSeperatorFlashUserPreference];
if (flashingSeperators.boolValue == 0) {
if (originalText.length > 0 && self.flashingTicker) {
originalText = [NSMutableString stringWithString:[originalText stringByReplacingOccurrencesOfString:@":" withString:@" "]];
}
}
return originalText;
}
- (NSImage *)imageWithSubviewsWithTextField:(NSTextField *)textField - (NSImage *)imageWithSubviewsWithTextField:(NSTextField *)textField
{ {

1
Clocker/Utilities/CommonStrings.h

@ -33,5 +33,6 @@ extern NSString *const CLSunriseSunsetTime;
extern NSString *const CLLocationSearchURL; extern NSString *const CLLocationSearchURL;
extern NSString *const CLShowSecondsInMenubar; extern NSString *const CLShowSecondsInMenubar;
extern NSString *const CLUserFontSizePreference; extern NSString *const CLUserFontSizePreference;
extern NSString *const CLSeperatorFlashUserPreference;
@end @end

1
Clocker/Utilities/CommonStrings.m

@ -31,5 +31,6 @@ NSString *const CLSunriseSunsetTime = @"showSunriseSetTime";
NSString *const CLLocationSearchURL = @"https://maps.googleapis.com/maps/api/geocode/json?address=%@&key=AIzaSyCyf2knCi6KiKuDJLYDBD3Odq5dt4c-_KI&language=%@"; NSString *const CLLocationSearchURL = @"https://maps.googleapis.com/maps/api/geocode/json?address=%@&key=AIzaSyCyf2knCi6KiKuDJLYDBD3Odq5dt4c-_KI&language=%@";
NSString *const CLShowSecondsInMenubar = @"showSeconds"; NSString *const CLShowSecondsInMenubar = @"showSeconds";
NSString *const CLUserFontSizePreference = @"userFontSize"; NSString *const CLUserFontSizePreference = @"userFontSize";
NSString *const CLSeperatorFlashUserPreference = @"flashSeperators";
@end @end

Loading…
Cancel
Save