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 | |
# FindInFile.sh | |
# | |
# | |
# Created by Gregory Hill on 2/28/13. | |
# | |
# Usage: | |
# ./FindInFile.sh <baseDir> | |
# e.g. ~/Desktop/Code/Pandora/dev/Pandora |
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
// | |
// common.h | |
// Common helper stuff | |
// | |
// Created by Christopher Loessl. | |
// Copyright (c) 2013 Christopher Loessl. All rights reserved. | |
// | |
#ifndef hashier_common_h | |
#define hashier_common_h |
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
#import <Foundation/Foundation.h> | |
#ifdef DEBUG | |
#define NSLog(args...) ExtendNSLog(__FILE__,__LINE__,__PRETTY_FUNCTION__,args); | |
#else | |
#define NSLog(x...) | |
#endif | |
void ExtendNSLog(const char *file, int lineNumber, const char *functionName, NSString *format, ...); |
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
// | |
// main.m | |
// KVO | |
// | |
// Created by Christopher Loessl on 7/14/13. | |
// Copyright (c) 2013 Christopher Loessl. All rights reserved. | |
// | |
/* | |
* The code is based on a tutorial from: |
NewerOlder