This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARCHIVE = "Alcatraz.tar.gz" | |
BUNDLE_NAME = "Alcatraz.xcplugin" | |
VERSION_LOCATION = "Alcatraz/ATZVersion.h" | |
INSTALL_PATH = ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/${BUNDLE_NAME}/ | |
DEFAULT_BUILD_ARGS = -workspace TestProject/TestProject.xcworkspace -scheme TestProject | |
XCODEBUILD = xcodebuild $(DEFAULT_BUILD_ARGS) | |
VERSION = $(shell grep 'ATZ_VERSION' Alcatraz/ATZVersion.h | cut -d " " -f 3 | tr -d '"') | |
XCPRETTY_INSTALLED = $(shell which xcpretty) | |
ifneq ($(strip $(XCPRETTY_INSTALLED)),) | |
$(info Using xcpretty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get libdwarf-dev libiberty-dev | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iPad: 44 | |
iPhone: 44 | |
iPhone-Landscape: 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# DHC - Hacked to always return a 0 code when successful. | |
SIM_DEVICES_FOLDER=~/Library/Developer/CoreSimulator/Devices | |
SIM_RUNTIME_PRFIX=com.apple.CoreSimulator.SimRuntime | |
function usage () { | |
echo "simulatorAppFolders (-s <name> | -d <device-type>) [-?] [-i <iOS version>] [-a <app-name>]" | |
echo "-? show help, and prints simulators currently installed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation UIResponder (FirstResponder) | |
static __weak UIResponder *currentFirstResponder; | |
+ (instancetype)currentFirstResponder | |
{ | |
[[UIApplication sharedApplication] sendAction:@selector(findCurrentFirstResponder:) to:nil from:self forEvent:nil]; | |
return currentFirstResponder; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Is this a bad idea? | |
NSAssert(^BOOL() { | |
return YES; | |
}(), @"Assert"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) -[FAILED_BEFORE TESTS_RAN] (UI Tests.xctest) | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | |
Test did not run: the test bundle stopped running or crashed before the test suite started. | |
2015-03-03 19:07:35.874 LinkedStoryboards[43486:23529036] KIFTester loaded | |
CRASH REPORT: LinkedStoryboards_2015-03-03-190737_Ashton.crash | |
Process: LinkedStoryboards [43486] | |
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/E330D0BB-C864-4F9A-9E65-3C6306C6A001/data/Containers/Bundle/Application/9AF432F6-C2F8-455E-B37D-5176716BFAC3/LinkedStoryboards.app/LinkedStoryboards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Language: Cpp | |
BasedOnStyle: LLVM | |
AccessModifierOffset: -1 | |
AlignEscapedNewlinesLeft: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortFunctionsOnASingleLine: None | |
AlwaysBreakTemplateDeclarations: true | |
AlwaysBreakBeforeMultilineStrings: true | |
BinPackParameters: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Add alias to .bash_profile | |
# alias podopen="sh ~/podopen.sh" | |
cd "$(dirname "$(find . -name Podfile)")" && pod install && open *.xcworkspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Install RVM | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
#RVM Postsetup | |
source ~/.rvm/scripts/rvm | |
#Resolve issue with OSX SSL | |
rvm pkg install openssl |
OlderNewer