Skip to content

Commit

Permalink
update flashlighttool
Browse files Browse the repository at this point in the history
  • Loading branch information
nate-parrott committed Jan 8, 2015
1 parent d14e546 commit 526d819
Show file tree
Hide file tree
Showing 15 changed files with 144 additions and 38 deletions.
Binary file added Assets/Generic Plugin icon.sketch/Data
Binary file not shown.
18 changes: 18 additions & 0 deletions Assets/Generic Plugin icon.sketch/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>app</key>
<string>com.bohemiancoding.sketch3</string>
<key>build</key>
<integer>8054</integer>
<key>commit</key>
<string>b2079fe10151ad0eef6cc553b7369ec78d67b9b5</string>
<key>fonts</key>
<array/>
<key>length</key>
<integer>46435</integer>
<key>version</key>
<integer>37</integer>
</dict>
</plist>
1 change: 1 addition & 0 deletions Assets/Generic Plugin icon.sketch/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37
4 changes: 2 additions & 2 deletions FlashlightApp/EasySIMBL/Flashlight-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.96</string>
<string>0.96.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -49,7 +49,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>30</string>
<string>31</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/* Begin PBXBuildFile section */
5F249B291A5CFCA3001FEF8F /* FlashlightKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5FC13E5D1A4E13B8008A0FE3 /* FlashlightKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
5F7BBDB71A5E490F00377A9F /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDB61A5E490F00377A9F /* Icon.icns */; };
5F7BBDB91A5E503E00377A9F /* bundle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDB81A5E503E00377A9F /* bundle.icns */; };
5F7BBDBB1A5E515800377A9F /* say.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 5F7BBDBA1A5E515800377A9F /* say.bundle */; };
5FC13D441A4CD847008A0FE3 /* FlashlightToolAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FC13D431A4CD847008A0FE3 /* FlashlightToolAppDelegate.m */; };
5FC13D461A4CD847008A0FE3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FC13D451A4CD847008A0FE3 /* main.m */; };
5FC13D4B1A4CD847008A0FE3 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5FC13D491A4CD847008A0FE3 /* MainMenu.xib */; };
Expand Down Expand Up @@ -42,6 +44,8 @@

/* Begin PBXFileReference section */
5F7BBDB61A5E490F00377A9F /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = "<group>"; };
5F7BBDB81A5E503E00377A9F /* bundle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = bundle.icns; sourceTree = "<group>"; };
5F7BBDBA1A5E515800377A9F /* say.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = say.bundle; sourceTree = "<group>"; };
5FC13D3D1A4CD847008A0FE3 /* FlashlightTool.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FlashlightTool.app; sourceTree = BUILT_PRODUCTS_DIR; };
5FC13D411A4CD847008A0FE3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5FC13D421A4CD847008A0FE3 /* FlashlightToolAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FlashlightToolAppDelegate.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -100,7 +104,9 @@
children = (
5FC13D421A4CD847008A0FE3 /* FlashlightToolAppDelegate.h */,
5FC13D431A4CD847008A0FE3 /* FlashlightToolAppDelegate.m */,
5F7BBDBA1A5E515800377A9F /* say.bundle */,
5F7BBDB61A5E490F00377A9F /* Icon.icns */,
5F7BBDB81A5E503E00377A9F /* bundle.icns */,
5FC13D491A4CD847008A0FE3 /* MainMenu.xib */,
5FC13D401A4CD847008A0FE3 /* Supporting Files */,
);
Expand Down Expand Up @@ -216,6 +222,8 @@
files = (
5FC13D4B1A4CD847008A0FE3 /* MainMenu.xib in Resources */,
5F7BBDB71A5E490F00377A9F /* Icon.icns in Resources */,
5F7BBDB91A5E503E00377A9F /* bundle.icns in Resources */,
5F7BBDBB1A5E515800377A9F /* say.bundle in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
84 changes: 49 additions & 35 deletions FlashlightApp/FlashlightTool/FlashlightTool/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -674,14 +674,14 @@
<window title="FlashlightTool" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="335" y="390" width="726" height="613"/>
<rect key="contentRect" x="335" y="390" width="726" height="582"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
<view key="contentView" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="726" height="613"/>
<rect key="frame" x="0.0" y="0.0" width="726" height="582"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<searchField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5Ai-dN-Dw0">
<rect key="frame" x="95" y="571" width="536" height="22"/>
<rect key="frame" x="95" y="540" width="536" height="22"/>
<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">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -693,39 +693,39 @@
</connections>
</searchField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="N68-ww-wMf">
<rect key="frame" x="93" y="546" width="108" height="17"/>
<rect key="frame" x="93" y="515" width="108" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Matching Plugin:" id="KZC-yB-HTe">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ULm-yi-Tk4">
<rect key="frame" x="93" y="521" width="108" height="17"/>
<rect key="frame" x="93" y="490" width="108" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Plugin Input:" id="2mg-kw-B9j">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OnB-fZ-ns4">
<rect key="frame" x="205" y="546" width="428" height="17"/>
<rect key="frame" x="205" y="515" width="428" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="None" id="Yxq-pu-dC9">
<font key="font" metaFont="systemBold"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZJ8-0o-PEI">
<rect key="frame" x="205" y="521" width="428" height="17"/>
<rect key="frame" x="205" y="490" width="428" height="17"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="None" id="uvR-oW-vF3">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<box autoresizesSubviews="NO" title="Result" borderType="line" translatesAutoresizingMaskIntoConstraints="NO" id="fhf-BP-A4U">
<rect key="frame" x="59" y="47" width="608" height="466"/>
<rect key="frame" x="59" y="16" width="608" height="466"/>
<view key="contentView">
<rect key="frame" x="1" y="1" width="606" height="450"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -769,58 +769,66 @@
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="VZX-B6-12O">
<rect key="frame" x="509" y="19" width="155" height="19"/>
<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">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="systemBold" size="12"/>
</buttonCell>
<connections>
<action selector="openPluginsDirectory:" target="Voe-Tx-rLC" id="uvi-aT-h1E"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R8c-zd-aef">
<rect key="frame" x="62" y="19" width="70" height="19"/>
<buttonCell key="cell" type="recessed" title="API Docs" bezelStyle="recessed" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="pu8-6n-NHQ">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="systemBold" size="12"/>
</buttonCell>
<connections>
<action selector="openAPIDocs:" target="Voe-Tx-rLC" id="HoL-gq-QYZ"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="VZX-B6-12O" secondAttribute="bottom" constant="20" id="2oV-2K-cBj"/>
<constraint firstAttribute="bottom" secondItem="R8c-zd-aef" secondAttribute="bottom" constant="20" id="8hU-lR-fKt"/>
<constraint firstItem="VZX-B6-12O" firstAttribute="top" relation="greaterThanOrEqual" secondItem="fhf-BP-A4U" secondAttribute="bottom" constant="13" id="Abl-bH-K68"/>
<constraint firstAttribute="centerX" secondItem="fhf-BP-A4U" secondAttribute="centerX" id="AxH-gC-w5F"/>
<constraint firstItem="fhf-BP-A4U" firstAttribute="top" secondItem="ZJ8-0o-PEI" secondAttribute="bottom" constant="8" id="KP4-1G-IqE"/>
<constraint firstItem="N68-ww-wMf" firstAttribute="top" secondItem="5Ai-dN-Dw0" secondAttribute="bottom" constant="8" id="Nea-IG-VoV"/>
<constraint firstItem="OnB-fZ-ns4" firstAttribute="top" secondItem="5Ai-dN-Dw0" secondAttribute="bottom" constant="8" id="UJe-qt-wkB"/>
<constraint firstItem="OnB-fZ-ns4" firstAttribute="leading" secondItem="N68-ww-wMf" secondAttribute="trailing" constant="8" id="WTr-ma-Qx5"/>
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" id="Y8B-z6-lWh"/>
<constraint firstItem="ULm-yi-Tk4" firstAttribute="width" secondItem="N68-ww-wMf" secondAttribute="width" id="dM2-Bp-VFP"/>
<constraint firstItem="R8c-zd-aef" firstAttribute="leading" secondItem="fhf-BP-A4U" secondAttribute="leading" id="dZj-0L-Wd7"/>
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="top" secondItem="EiT-Mj-1SZ" secondAttribute="top" constant="20" id="dcR-ff-aWF"/>
<constraint firstItem="OnB-fZ-ns4" firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" id="dqM-fz-SQ9"/>
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="leading" secondItem="N68-ww-wMf" secondAttribute="leading" id="eTT-Zs-Dkk"/>
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="top" secondItem="OnB-fZ-ns4" secondAttribute="bottom" constant="8" id="jAa-me-450"/>
<constraint firstItem="5Ai-dN-Dw0" firstAttribute="leading" secondItem="EiT-Mj-1SZ" secondAttribute="leading" constant="95" id="mY0-9v-GTJ"/>
<constraint firstAttribute="trailing" secondItem="5Ai-dN-Dw0" secondAttribute="trailing" constant="95" id="q1g-ak-WNs"/>
<constraint firstItem="VZX-B6-12O" firstAttribute="trailing" secondItem="fhf-BP-A4U" secondAttribute="trailing" id="qOd-eO-8Le"/>
<constraint firstItem="ZJ8-0o-PEI" firstAttribute="leading" secondItem="ULm-yi-Tk4" secondAttribute="trailing" constant="8" id="usl-Cx-tAz"/>
<constraint firstItem="ULm-yi-Tk4" firstAttribute="leading" secondItem="5Ai-dN-Dw0" secondAttribute="leading" id="uzH-p2-N3b"/>
<constraint firstItem="ULm-yi-Tk4" firstAttribute="top" secondItem="N68-ww-wMf" secondAttribute="bottom" constant="8" id="zOO-ML-iPM"/>
</constraints>
</view>
<toolbar key="toolbar" implicitIdentifier="BCCFED94-6936-4DCD-A7F9-17AB646D1B53" autosavesConfiguration="NO" displayMode="iconAndLabel" sizeMode="regular" id="hKW-4r-reI">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="E04B04BC-2C8A-4AE5-9C9D-FB20E6DB0ECC" label="Errors and Warnings" paletteLabel="Errors and Warnings" tag="-1" image="NSCaution" id="F6d-zF-9p6">
<connections>
<action selector="makeKeyAndOrderFront:" target="Z2a-g4-U1B" id="FJq-pe-eJu"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="LS2-XI-zCi"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="U86-v1-Zb9"/>
<toolbarItem implicitItemIdentifier="D7A59698-0192-49DF-B8F6-0B78E44BB3DE" label="API Docs" paletteLabel="API Docs" tag="-1" image="NSInfo" id="K5C-Pk-0rC">
<connections>
<action selector="openAPIDocs:" target="Voe-Tx-rLC" id="tmU-0F-BlM"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="7090EF87-92E6-4409-A4E8-8AE5A75AC25E" label="Open Plugins Folder" paletteLabel="Open Plugins Folder" tag="-1" image="NSFolder" id="d77-hY-PoW">
<connections>
<action selector="openPluginsDirectory:" target="Voe-Tx-rLC" id="mQ8-rz-QoM"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="E8FE8582-21A8-4DEF-90A9-08CC908099C3" label="Create New Plugin" paletteLabel="Create New Plugin" tag="-1" image="bundle" id="T0Y-ZJ-I7e">
<connections>
<action selector="newPlugin:" target="Voe-Tx-rLC" id="nlF-QT-L6t"/>
</connections>
</toolbarItem>
</allowedToolbarItems>
<defaultToolbarItems>
<toolbarItem reference="T0Y-ZJ-I7e"/>
<toolbarItem reference="K5C-Pk-0rC"/>
<toolbarItem reference="d77-hY-PoW"/>
<toolbarItem reference="U86-v1-Zb9"/>
<toolbarItem reference="F6d-zF-9p6"/>
</defaultToolbarItems>
</toolbar>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="DnR-6U-eeh"/>
</connections>
<point key="canvasLocation" x="317" y="487.5"/>
<point key="canvasLocation" x="317" y="472"/>
</window>
<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">
<windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES" utility="YES"/>
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="120" y="68" width="276" height="378"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
Expand Down Expand Up @@ -867,4 +875,10 @@
<point key="canvasLocation" x="901" y="529"/>
</window>
</objects>
<resources>
<image name="NSCaution" width="32" height="32"/>
<image name="NSFolder" width="32" height="32"/>
<image name="NSInfo" width="32" height="32"/>
<image name="bundle" width="512" height="512"/>
</resources>
</document>
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@

@interface FlashlightToolAppDelegate : NSObject <NSApplicationDelegate>


@end

Loading

0 comments on commit 526d819

Please sign in to comment.