Skip to content

Commit 526d819

Browse files
committed
update flashlighttool
1 parent d14e546 commit 526d819

File tree

15 files changed

+144
-38
lines changed

15 files changed

+144
-38
lines changed
45.3 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>app</key>
6+
<string>com.bohemiancoding.sketch3</string>
7+
<key>build</key>
8+
<integer>8054</integer>
9+
<key>commit</key>
10+
<string>b2079fe10151ad0eef6cc553b7369ec78d67b9b5</string>
11+
<key>fonts</key>
12+
<array/>
13+
<key>length</key>
14+
<integer>46435</integer>
15+
<key>version</key>
16+
<integer>37</integer>
17+
</dict>
18+
</plist>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
37

FlashlightApp/EasySIMBL/Flashlight-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<key>CFBundlePackageType</key>
3333
<string>APPL</string>
3434
<key>CFBundleShortVersionString</key>
35-
<string>0.96</string>
35+
<string>0.96.1</string>
3636
<key>CFBundleSignature</key>
3737
<string>????</string>
3838
<key>CFBundleURLTypes</key>
@@ -49,7 +49,7 @@
4949
</dict>
5050
</array>
5151
<key>CFBundleVersion</key>
52-
<string>30</string>
52+
<string>31</string>
5353
<key>LSApplicationCategoryType</key>
5454
<string>public.app-category.utilities</string>
5555
<key>LSMinimumSystemVersion</key>

FlashlightApp/FlashlightTool/FlashlightTool.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/* Begin PBXBuildFile section */
1010
5F249B291A5CFCA3001FEF8F /* FlashlightKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5FC13E5D1A4E13B8008A0FE3 /* FlashlightKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1111
5F7BBDB71A5E490F00377A9F /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDB61A5E490F00377A9F /* Icon.icns */; };
12+
5F7BBDB91A5E503E00377A9F /* bundle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDB81A5E503E00377A9F /* bundle.icns */; };
13+
5F7BBDBB1A5E515800377A9F /* say.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDBA1A5E515800377A9F /* say.bundle */; };
1214
5FC13D441A4CD847008A0FE3 /* FlashlightToolAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FC13D431A4CD847008A0FE3 /* FlashlightToolAppDelegate.m */; };
1315
5FC13D461A4CD847008A0FE3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FC13D451A4CD847008A0FE3 /* main.m */; };
1416
5FC13D4B1A4CD847008A0FE3 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5FC13D491A4CD847008A0FE3 /* MainMenu.xib */; };
@@ -42,6 +44,8 @@
4244

4345
/* Begin PBXFileReference section */
4446
5F7BBDB61A5E490F00377A9F /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = "<group>"; };
47+
5F7BBDB81A5E503E00377A9F /* bundle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = bundle.icns; sourceTree = "<group>"; };
48+
5F7BBDBA1A5E515800377A9F /* say.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = say.bundle; sourceTree = "<group>"; };
4549
5FC13D3D1A4CD847008A0FE3 /* FlashlightTool.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FlashlightTool.app; sourceTree = BUILT_PRODUCTS_DIR; };
4650
5FC13D411A4CD847008A0FE3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4751
5FC13D421A4CD847008A0FE3 /* FlashlightToolAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FlashlightToolAppDelegate.h; sourceTree = "<group>"; };
@@ -100,7 +104,9 @@
100104
children = (
101105
5FC13D421A4CD847008A0FE3 /* FlashlightToolAppDelegate.h */,
102106
5FC13D431A4CD847008A0FE3 /* FlashlightToolAppDelegate.m */,
107+
5F7BBDBA1A5E515800377A9F /* say.bundle */,
103108
5F7BBDB61A5E490F00377A9F /* Icon.icns */,
109+
5F7BBDB81A5E503E00377A9F /* bundle.icns */,
104110
5FC13D491A4CD847008A0FE3 /* MainMenu.xib */,
105111
5FC13D401A4CD847008A0FE3 /* Supporting Files */,
106112
);
@@ -216,6 +222,8 @@
216222
files = (
217223
5FC13D4B1A4CD847008A0FE3 /* MainMenu.xib in Resources */,
218224
5F7BBDB71A5E490F00377A9F /* Icon.icns in Resources */,
225+
5F7BBDB91A5E503E00377A9F /* bundle.icns in Resources */,
226+
5F7BBDBB1A5E515800377A9F /* say.bundle in Resources */,
219227
);
220228
runOnlyForDeploymentPostprocessing = 0;
221229
};

FlashlightApp/FlashlightTool/FlashlightTool/Base.lproj/MainMenu.xib

Lines changed: 49 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -674,14 +674,14 @@
674674
<window title="FlashlightTool" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
675675
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
676676
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
677-
<rect key="contentRect" x="335" y="390" width="726" height="613"/>
677+
<rect key="contentRect" x="335" y="390" width="726" height="582"/>
678678
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
679679
<view key="contentView" id="EiT-Mj-1SZ">
680-
<rect key="frame" x="0.0" y="0.0" width="726" height="613"/>
680+
<rect key="frame" x="0.0" y="0.0" width="726" height="582"/>
681681
<autoresizingMask key="autoresizingMask"/>
682682
<subviews>
683683
<searchField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5Ai-dN-Dw0">
684-
<rect key="frame" x="95" y="571" width="536" height="22"/>
684+
<rect key="frame" x="95" y="540" width="536" height="22"/>
685685
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" placeholderString="Test Spotlight Search" usesSingleLineMode="YES" bezelStyle="round" id="nFQ-t2-CXQ">
686686
<font key="font" metaFont="system"/>
687687
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -693,39 +693,39 @@
693693
</connections>
694694
</searchField>
695695
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="N68-ww-wMf">
696-
<rect key="frame" x="93" y="546" width="108" height="17"/>
696+
<rect key="frame" x="93" y="515" width="108" height="17"/>
697697
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Matching Plugin:" id="KZC-yB-HTe">
698698
<font key="font" metaFont="system"/>
699699
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
700700
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
701701
</textFieldCell>
702702
</textField>
703703
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ULm-yi-Tk4">
704-
<rect key="frame" x="93" y="521" width="108" height="17"/>
704+
<rect key="frame" x="93" y="490" width="108" height="17"/>
705705
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Plugin Input:" id="2mg-kw-B9j">
706706
<font key="font" metaFont="system"/>
707707
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
708708
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
709709
</textFieldCell>
710710
</textField>
711711
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OnB-fZ-ns4">
712-
<rect key="frame" x="205" y="546" width="428" height="17"/>
712+
<rect key="frame" x="205" y="515" width="428" height="17"/>
713713
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="None" id="Yxq-pu-dC9">
714714
<font key="font" metaFont="systemBold"/>
715715
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
716716
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
717717
</textFieldCell>
718718
</textField>
719719
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZJ8-0o-PEI">
720-
<rect key="frame" x="205" y="521" width="428" height="17"/>
720+
<rect key="frame" x="205" y="490" width="428" height="17"/>
721721
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="None" id="uvR-oW-vF3">
722722
<font key="font" metaFont="system"/>
723723
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
724724
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
725725
</textFieldCell>
726726
</textField>
727727
<box autoresizesSubviews="NO" title="Result" borderType="line" translatesAutoresizingMaskIntoConstraints="NO" id="fhf-BP-A4U">
728-
<rect key="frame" x="59" y="47" width="608" height="466"/>
728+
<rect key="frame" x="59" y="16" width="608" height="466"/>
729729
<view key="contentView">
730730
<rect key="frame" x="1" y="1" width="606" height="450"/>
731731
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -769,58 +769,66 @@
769769
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
770770
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
771771
</box>
772-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="VZX-B6-12O">
773-
<rect key="frame" x="509" y="19" width="155" height="19"/>
774-
<buttonCell key="cell" type="recessed" title="Open Plugins Directory" bezelStyle="recessed" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Pj-S8-hQv">
775-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
776-
<font key="font" metaFont="systemBold" size="12"/>
777-
</buttonCell>
778-
<connections>
779-
<action selector="openPluginsDirectory:" target="Voe-Tx-rLC" id="uvi-aT-h1E"/>
780-
</connections>
781-
</button>
782-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R8c-zd-aef">
783-
<rect key="frame" x="62" y="19" width="70" height="19"/>
784-
<buttonCell key="cell" type="recessed" title="API Docs" bezelStyle="recessed" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="pu8-6n-NHQ">
785-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
786-
<font key="font" metaFont="systemBold" size="12"/>
787-
</buttonCell>
788-
<connections>
789-
<action selector="openAPIDocs:" target="Voe-Tx-rLC" id="HoL-gq-QYZ"/>
790-
</connections>
791-
</button>
792772
</subviews>
793773
<constraints>
794-
<constraint firstAttribute="bottom" secondItem="VZX-B6-12O" secondAttribute="bottom" constant="20" id="2oV-2K-cBj"/>
795-
<constraint firstAttribute="bottom" secondItem="R8c-zd-aef" secondAttribute="bottom" constant="20" id="8hU-lR-fKt"/>
796-
<constraint firstItem="VZX-B6-12O" firstAttribute="top" relation="greaterThanOrEqual" secondItem="fhf-BP-A4U" secondAttribute="bottom" constant="13" id="Abl-bH-K68"/>
797774
<constraint firstAttribute="centerX" secondItem="fhf-BP-A4U" secondAttribute="centerX" id="AxH-gC-w5F"/>
798775
<constraint firstItem="fhf-BP-A4U" firstAttribute="top" secondItem="ZJ8-0o-PEI" secondAttribute="bottom" constant="8" id="KP4-1G-IqE"/>
799776
<constraint firstItem="N68-ww-wMf" firstAttribute="top" secondItem="5Ai-dN-Dw0" secondAttribute="bottom" constant="8" id="Nea-IG-VoV"/>
800777
<constraint firstItem="OnB-fZ-ns4" firstAttribute="top" secondItem="5Ai-dN-Dw0" secondAttribute="bottom" constant="8" id="UJe-qt-wkB"/>
801778
<constraint firstItem="OnB-fZ-ns4" firstAttribute="leading" secondItem="N68-ww-wMf" secondAttribute="trailing" constant="8" id="WTr-ma-Qx5"/>
802779
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" id="Y8B-z6-lWh"/>
803780
<constraint firstItem="ULm-yi-Tk4" firstAttribute="width" secondItem="N68-ww-wMf" secondAttribute="width" id="dM2-Bp-VFP"/>
804-
<constraint firstItem="R8c-zd-aef" firstAttribute="leading" secondItem="fhf-BP-A4U" secondAttribute="leading" id="dZj-0L-Wd7"/>
805781
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="top" secondItem="EiT-Mj-1SZ" secondAttribute="top" constant="20" id="dcR-ff-aWF"/>
806782
<constraint firstItem="OnB-fZ-ns4" firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" id="dqM-fz-SQ9"/>
807783
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="leading" secondItem="N68-ww-wMf" secondAttribute="leading" id="eTT-Zs-Dkk"/>
808784
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="top" secondItem="OnB-fZ-ns4" secondAttribute="bottom" constant="8" id="jAa-me-450"/>
809785
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="leading" secondItem="EiT-Mj-1SZ" secondAttribute="leading" constant="95" id="mY0-9v-GTJ"/>
810786
<constraint firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" constant="95" id="q1g-ak-WNs"/>
811-
<constraint firstItem="VZX-B6-12O" firstAttribute="trailing" secondItem="fhf-BP-A4U" secondAttribute="trailing" id="qOd-eO-8Le"/>
812787
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="leading" secondItem="ULm-yi-Tk4" secondAttribute="trailing" constant="8" id="usl-Cx-tAz"/>
813788
<constraint firstItem="ULm-yi-Tk4" firstAttribute="leading" secondItem="5Ai-dN-Dw0" secondAttribute="leading" id="uzH-p2-N3b"/>
814789
<constraint firstItem="ULm-yi-Tk4" firstAttribute="top" secondItem="N68-ww-wMf" secondAttribute="bottom" constant="8" id="zOO-ML-iPM"/>
815790
</constraints>
816791
</view>
792+
<toolbar key="toolbar" implicitIdentifier="BCCFED94-6936-4DCD-A7F9-17AB646D1B53" autosavesConfiguration="NO" displayMode="iconAndLabel" sizeMode="regular" id="hKW-4r-reI">
793+
<allowedToolbarItems>
794+
<toolbarItem implicitItemIdentifier="E04B04BC-2C8A-4AE5-9C9D-FB20E6DB0ECC" label="Errors and Warnings" paletteLabel="Errors and Warnings" tag="-1" image="NSCaution" id="F6d-zF-9p6">
795+
<connections>
796+
<action selector="makeKeyAndOrderFront:" target="Z2a-g4-U1B" id="FJq-pe-eJu"/>
797+
</connections>
798+
</toolbarItem>
799+
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="LS2-XI-zCi"/>
800+
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="U86-v1-Zb9"/>
801+
<toolbarItem implicitItemIdentifier="D7A59698-0192-49DF-B8F6-0B78E44BB3DE" label="API Docs" paletteLabel="API Docs" tag="-1" image="NSInfo" id="K5C-Pk-0rC">
802+
<connections>
803+
<action selector="openAPIDocs:" target="Voe-Tx-rLC" id="tmU-0F-BlM"/>
804+
</connections>
805+
</toolbarItem>
806+
<toolbarItem implicitItemIdentifier="7090EF87-92E6-4409-A4E8-8AE5A75AC25E" label="Open Plugins Folder" paletteLabel="Open Plugins Folder" tag="-1" image="NSFolder" id="d77-hY-PoW">
807+
<connections>
808+
<action selector="openPluginsDirectory:" target="Voe-Tx-rLC" id="mQ8-rz-QoM"/>
809+
</connections>
810+
</toolbarItem>
811+
<toolbarItem implicitItemIdentifier="E8FE8582-21A8-4DEF-90A9-08CC908099C3" label="Create New Plugin" paletteLabel="Create New Plugin" tag="-1" image="bundle" id="T0Y-ZJ-I7e">
812+
<connections>
813+
<action selector="newPlugin:" target="Voe-Tx-rLC" id="nlF-QT-L6t"/>
814+
</connections>
815+
</toolbarItem>
816+
</allowedToolbarItems>
817+
<defaultToolbarItems>
818+
<toolbarItem reference="T0Y-ZJ-I7e"/>
819+
<toolbarItem reference="K5C-Pk-0rC"/>
820+
<toolbarItem reference="d77-hY-PoW"/>
821+
<toolbarItem reference="U86-v1-Zb9"/>
822+
<toolbarItem reference="F6d-zF-9p6"/>
823+
</defaultToolbarItems>
824+
</toolbar>
817825
<connections>
818826
<outlet property="delegate" destination="Voe-Tx-rLC" id="DnR-6U-eeh"/>
819827
</connections>
820-
<point key="canvasLocation" x="317" y="487.5"/>
828+
<point key="canvasLocation" x="317" y="472"/>
821829
</window>
822830
<window title="Errors and Warnings" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" animationBehavior="default" id="Z2a-g4-U1B" customClass="NSPanel">
823-
<windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES" utility="YES"/>
831+
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES"/>
824832
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
825833
<rect key="contentRect" x="120" y="68" width="276" height="378"/>
826834
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
@@ -867,4 +875,10 @@
867875
<point key="canvasLocation" x="901" y="529"/>
868876
</window>
869877
</objects>
878+
<resources>
879+
<image name="NSCaution" width="32" height="32"/>
880+
<image name="NSFolder" width="32" height="32"/>
881+
<image name="NSInfo" width="32" height="32"/>
882+
<image name="bundle" width="512" height="512"/>
883+
</resources>
870884
</document>

FlashlightApp/FlashlightTool/FlashlightTool/FlashlightToolAppDelegate.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010

1111
@interface FlashlightToolAppDelegate : NSObject <NSApplicationDelegate>
1212

13-
1413
@end
1514

0 commit comments

Comments
 (0)