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 | |
# ADC downloader tool | |
# | |
# Usage: | |
# adc_download.sh [download URL] | |
# | |
# Michael Tyson, A Tasty Pixel <[email protected]> | |
# | |
# Multi-team support via Christopher Bowns (@cbowns, http://cbowns.com/) |
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
find Classes -name "*.m" -print0 | xargs -0 genstrings -o Resources |
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> | |
#import <FMDB/FMDatabase.h> | |
@interface DYDB : NSObject { | |
} | |
@property(nonatomic, readonly) FMDatabase *database; | |
+ (DYDB *) sharedDB; |
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
-(void)drawTimecodeUsingGCD | |
{ | |
if( dispatch_semaphore_wait( _timecodeSemaphore, DISPATCH_TIME_NOW ) != 0 ) | |
{ | |
return; | |
} | |
dispatch_async( _timecodeQueue, ^() | |
{ | |
float fontSize = ceilf( self.scrubberSize * 0.425f ); |
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
// | |
// UILabel+MultiLineSupport.h | |
// giffgaffIOS | |
// | |
// Created by Nigel Barber on 23/10/2013. | |
// Copyright (c) 2013 confidence. All rights reserved. | |
// | |
#import <UIKit/UIKit.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
// | |
// UILabel+MultiLineSupport.h | |
// giffgaffIOS | |
// | |
// Created by Nigel Barber on 23/10/2013. | |
// Copyright (c) 2013 confidence. All rights reserved. | |
// | |
#import <UIKit/UIKit.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
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
@interface UITextView (Helper) | |
- (CGFloat)measureHeight; | |
@end | |
#import "UITextView+Helper.h" | |
@implementation UITextView (Helper) |
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
workspace 'XXX.xcworkspace' | |
xcodeproj 'XXX.xcodeproj' | |
platform :ios, '7.0' | |
# 非UI第三方依赖 | |
target 'XXXModel' do | |
xcodeproj 'iMealModel/iMealModel.xcodeproj' | |
pod 'AVOSCloud', '~> 2.5.8.1' | |
pod 'ReactiveCocoa', '~> 2.3.1' | |
pod 'FLEX', '~> 1.0.0' | |
end |