Skip to content

Commit

Permalink
Wham, bam, thank you ma'am
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogelio Alberto committed Jan 8, 2017
0 parents commit 8a686ce
Show file tree
Hide file tree
Showing 23 changed files with 965 additions and 0 deletions.
7 changes: 7 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"THE BEER-WARE LICENSE" (Revision 42):

Rogelio Alberto <i@rog.mx> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return.

- Rogelio Alberto
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [Touch Bowie](https://github.com/rog/TouchBowie) ⚡️
> [`David Bowie `](https://en.wikipedia.org/wiki/David_Bowie) on your MacBook Pro's Touchbar.
![](http://i.imgur.com/2fRYe2j.gif)

---

[Download ⬇️]()

[Donate 💜](http://www.cancerresearchuk.org/support-us/donate)

---
#### [License](LICENSE)
Released under the [Beerware License](LICENSE).
Binary file added touchbar-bowie.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
333 changes: 333 additions & 0 deletions touchbar_bowie.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,333 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
A34053A21DCF56600081ABF1 /* ic_volume_off_3x.png in Resources */ = {isa = PBXBuildFile; fileRef = A34053A11DCF56600081ABF1 /* ic_volume_off_3x.png */; };
A34053A41DCF56640081ABF1 /* ic_volume_up_3x.png in Resources */ = {isa = PBXBuildFile; fileRef = A34053A31DCF56640081ABF1 /* ic_volume_up_3x.png */; };
A362A1061DCE6D6B00737197 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A362A1051DCE6D6B00737197 /* AppDelegate.swift */; };
A362A1081DCE6D6B00737197 /* BowieViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A362A1071DCE6D6B00737197 /* BowieViewController.swift */; };
A362A10A1DCE6D6B00737197 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A362A1091DCE6D6B00737197 /* Assets.xcassets */; };
A362A10D1DCE6D6B00737197 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A362A10B1DCE6D6B00737197 /* Main.storyboard */; };
A3826CDA1DCE79B900B7C41E /* BowieCanvas.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3826CD91DCE79B900B7C41E /* BowieCanvas.swift */; };
A3826CDC1DCE7B5000B7C41E /* BowieCanvas.xib in Resources */ = {isa = PBXBuildFile; fileRef = A3826CDB1DCE7B5000B7C41E /* BowieCanvas.xib */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
A34053A11DCF56600081ABF1 /* ic_volume_off_3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_volume_off_3x.png; sourceTree = "<group>"; };
A34053A31DCF56640081ABF1 /* ic_volume_up_3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_volume_up_3x.png; sourceTree = "<group>"; };
A362A1021DCE6D6B00737197 /* touchbar_bowie.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = touchbar_bowie.app; sourceTree = BUILT_PRODUCTS_DIR; };
A362A1051DCE6D6B00737197 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
A362A1071DCE6D6B00737197 /* BowieViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BowieViewController.swift; sourceTree = "<group>"; };
A362A1091DCE6D6B00737197 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
A362A10C1DCE6D6B00737197 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
A362A10E1DCE6D6B00737197 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A3826CD91DCE79B900B7C41E /* BowieCanvas.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BowieCanvas.swift; sourceTree = "<group>"; };
A3826CDB1DCE7B5000B7C41E /* BowieCanvas.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = BowieCanvas.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
A362A0FF1DCE6D6B00737197 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
A362A0F91DCE6D6B00737197 = {
isa = PBXGroup;
children = (
A362A1041DCE6D6B00737197 /* touchbar_bowie */,
A362A1031DCE6D6B00737197 /* Products */,
);
sourceTree = "<group>";
};
A362A1031DCE6D6B00737197 /* Products */ = {
isa = PBXGroup;
children = (
A362A1021DCE6D6B00737197 /* touchbar_bowie.app */,
);
name = Products;
sourceTree = "<group>";
};
A362A1041DCE6D6B00737197 /* touchbar_bowie */ = {
isa = PBXGroup;
children = (
A3A050DA1DCE96B2009D9775 /* sound */,
A3826CD61DCE73EA00B7C41E /* img */,
A362A1051DCE6D6B00737197 /* AppDelegate.swift */,
A362A1071DCE6D6B00737197 /* BowieViewController.swift */,
A3826CD91DCE79B900B7C41E /* BowieCanvas.swift */,
A3826CDB1DCE7B5000B7C41E /* BowieCanvas.xib */,
A362A1091DCE6D6B00737197 /* Assets.xcassets */,
A362A10B1DCE6D6B00737197 /* Main.storyboard */,
A362A10E1DCE6D6B00737197 /* Info.plist */,
);
path = touchbar_bowie;
sourceTree = "<group>";
};
A3826CD61DCE73EA00B7C41E /* img */ = {
isa = PBXGroup;
children = (
A34053A11DCF56600081ABF1 /* ic_volume_off_3x.png */,
A34053A31DCF56640081ABF1 /* ic_volume_up_3x.png */,
);
name = img;
sourceTree = "<group>";
};
A3A050DA1DCE96B2009D9775 /* sound */ = {
isa = PBXGroup;
children = (
);
name = sound;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
A362A1011DCE6D6B00737197 /* touchbar_bowie */ = {
isa = PBXNativeTarget;
buildConfigurationList = A362A1111DCE6D6B00737197 /* Build configuration list for PBXNativeTarget "touchbar_bowie" */;
buildPhases = (
A362A0FE1DCE6D6B00737197 /* Sources */,
A362A0FF1DCE6D6B00737197 /* Frameworks */,
A362A1001DCE6D6B00737197 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = touchbar_bowie;
productName = touchbar_nyancat;
productReference = A362A1021DCE6D6B00737197 /* touchbar_bowie.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
A362A0FA1DCE6D6B00737197 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0810;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = AVatsaev;
TargetAttributes = {
A362A1011DCE6D6B00737197 = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = NXWG2D52XE;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = A362A0FD1DCE6D6B00737197 /* Build configuration list for PBXProject "touchbar_bowie" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = A362A0F91DCE6D6B00737197;
productRefGroup = A362A1031DCE6D6B00737197 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
A362A1011DCE6D6B00737197 /* touchbar_bowie */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
A362A1001DCE6D6B00737197 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A3826CDC1DCE7B5000B7C41E /* BowieCanvas.xib in Resources */,
A362A10A1DCE6D6B00737197 /* Assets.xcassets in Resources */,
A362A10D1DCE6D6B00737197 /* Main.storyboard in Resources */,
A34053A21DCF56600081ABF1 /* ic_volume_off_3x.png in Resources */,
A34053A41DCF56640081ABF1 /* ic_volume_up_3x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
A362A0FE1DCE6D6B00737197 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A362A1081DCE6D6B00737197 /* BowieViewController.swift in Sources */,
A3826CDA1DCE79B900B7C41E /* BowieCanvas.swift in Sources */,
A362A1061DCE6D6B00737197 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
A362A10B1DCE6D6B00737197 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
A362A10C1DCE6D6B00737197 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
A362A10F1DCE6D6B00737197 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
A362A1101DCE6D6B00737197 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
};
name = Release;
};
A362A1121DCE6D6B00737197 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = NXWG2D52XE;
INFOPLIST_FILE = touchbar_bowie/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.rog.touchbar-bowie";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
A362A1131DCE6D6B00737197 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = NXWG2D52XE;
INFOPLIST_FILE = touchbar_bowie/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.rog.touchbar-bowie";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
A362A0FD1DCE6D6B00737197 /* Build configuration list for PBXProject "touchbar_bowie" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A362A10F1DCE6D6B00737197 /* Debug */,
A362A1101DCE6D6B00737197 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A362A1111DCE6D6B00737197 /* Build configuration list for PBXNativeTarget "touchbar_bowie" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A362A1121DCE6D6B00737197 /* Debug */,
A362A1131DCE6D6B00737197 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = A362A0FA1DCE6D6B00737197 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Loading

0 comments on commit 8a686ce

Please sign in to comment.