View XcodeWarnings.sh
KEYWORDS="TODO|FIXME|\?\?\?:|\!\!\!:"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | \
xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | \
perl -p -e "s/($KEYWORDS)/ warning: \$1/"
View gist:a7f881910cf2bc74f618
6/9/15 6:17:51.304 PM Xcode[31954]: Git fetch output: From https://github.com/FuzzyAutocomplete/FuzzyAutocompletePlugin
2df455e..bef5f0c master -> origin/master
142979f..417d3a1 xcode7 -> origin/xcode7
6/9/15 6:17:54.848 PM xcodebuild[36176]: [MT] PluginLoading: Skipping plug-in at path '/Users/grantdavis/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' because it is not compatible with this version of Xcode.
6/9/15 6:17:54.851 PM xcodebuild[36176]: Failed to load plugin at: /Users/grantdavis/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin, skipping. Reason for failure: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
6/9/15 6:17:55.170 PM Xcode[31954]: Xcodebuild output: 2015-06-09 18:17:51.595 xcodebuild[36132:1640025] [MT] PluginLoading: Required plug-in compatibility UUID E969541F-E6F9-4D25-8158-72DC3545A6C6 for plug-in at path '~/Library/Application S
View CHASlideRevealAnimationController.h
//
// CHASlideRevealAnimationController.h
// ChampionArchitect
//
// Created by Grant Davis on 4/24/15.
// Copyright (c) 2015 Gravity Core Apps, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
View .h
extern const struct PGAConfigStoreSimulationKey {
__unsafe_unretained NSString *multiCourseBeforeTee;
} PGAConfigStoreSimulationKey;
View GDILog.h
//
// GDILog.h
// GDILog
//
// Created by Grant Davis on 8/18/14.
// Copyright (c) 2014 Grant Davis Interactive, LLC. All rights reserved.
//
#ifdef DEBUG
#include <string.h>
View .gitignore
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# NB: if you are storing "built" products, this WILL NOT WORK,
View gist:10486922
- (void)test_roundTripEncodingGivesSameData
{
PrintProduct *samplePrintProduct = [self samplePrintProduct];
// Given a savings summary that we encode
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:samplePrintProduct];
// When we decode the data...
PrintProduct *decodedPrintProduct = [NSKeyedUnarchiver unarchiveObjectWithData:data];
View .gitignore
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# NB: if you are storing "built" products, this WILL NOT WORK,
View gist:8100184
{
response = {
data = (
{
CONTEXTSOURCE = LOCALEZE;
DISTANCE = "0.305787605527";
"ID_PLACEWISE" = 3376;
LOCATIONADDRESS = "10931 N De Anza Blvd";
LOCATIONAFFINITY = 0;
LOCATIONCITY = Cupertino;
View gist:8100107
{
response = {
data = (
{
CONTEXTSOURCE = LOCALEZE;
DISTANCE = "0.305787605527";
"ID_PLACEWISE" = 3376;
LOCATIONADDRESS = "10931 N De Anza Blvd";
LOCATIONAFFINITY = 0;
LOCATIONCITY = Cupertino;