Add Build toolbar icon

This commit is contained in:
Matthias Neeracher 2014-11-24 14:49:47 +01:00 committed by Matthias Neeracher
parent b3c3d8fca4
commit 7ae5a4b215
6 changed files with 39 additions and 2 deletions

View File

@ -224,5 +224,10 @@ class ASProjDoc: NSDocument, NSOutlineViewDelegate {
updateChangeCount(.ChangeDone) updateChangeCount(.ChangeDone)
} }
} }
// MARK: Build / Upload
@IBAction func buildProject(AnyObject) {
}
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7073.4" systemVersion="14A389" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7096" systemVersion="14B25" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7073.4"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7096"/>
</dependencies> </dependencies>
<objects> <objects>
<customObject id="-2" userLabel="File's Owner" customClass="ASProjDoc" customModule="AVRsack"> <customObject id="-2" userLabel="File's Owner" customClass="ASProjDoc" customModule="AVRsack">
@ -97,8 +97,14 @@
<allowedToolbarItems> <allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarPrintItem" id="ln2-Ky-MBg"/> <toolbarItem implicitItemIdentifier="NSToolbarPrintItem" id="ln2-Ky-MBg"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="2D6-o4-n09"/> <toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="2D6-o4-n09"/>
<toolbarItem implicitItemIdentifier="2EA4AC26-099B-4756-8779-ABB6208840D1" label="Build" paletteLabel="Build" tag="-1" image="BuildIcon" id="69r-aN-6vG">
<connections>
<action selector="buildProject:" target="-2" id="Les-fd-6cC"/>
</connections>
</toolbarItem>
</allowedToolbarItems> </allowedToolbarItems>
<defaultToolbarItems> <defaultToolbarItems>
<toolbarItem reference="69r-aN-6vG"/>
<toolbarItem reference="2D6-o4-n09"/> <toolbarItem reference="2D6-o4-n09"/>
<toolbarItem reference="ln2-Ky-MBg"/> <toolbarItem reference="ln2-Ky-MBg"/>
</defaultToolbarItems> </defaultToolbarItems>
@ -109,4 +115,7 @@
<point key="canvasLocation" x="406" y="428.5"/> <point key="canvasLocation" x="406" y="428.5"/>
</window> </window>
</objects> </objects>
<resources>
<image name="BuildIcon" width="32" height="32"/>
</resources>
</document> </document>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "BuildIcon 1x.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "BuildIcon 2x.png"
},
{
"idiom" : "universal",
"scale" : "3x",
"filename" : "BuildIcon 3x.png"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}