This file contains hidden or 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
source 'https://github.com/CocoaPods/Specs.git' | |
source 'https://github.com/xxxx/Specs.git' | |
inhibit_all_warnings! | |
def common_pods | |
pod 'AFNetworking', '~> 2.4.1' | |
pod 'MagicalRecord', '~> 2.2' | |
pod 'NSDate-SIUtilities', :git => 'https://github.com/iiiyu/NSDate-SIUtilities.git', :commit => '4b4bf1aa9f686bfd324bfa031edfe2df4a310b03' | |
pod 'Underscore.m', '~> 0.2.1' |
This file contains hidden or 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
- (NSString *) nameWithInstance:(id)instance | |
{ | |
unsigned int numIvars = 0; | |
NSString *key=nil; | |
Ivar * ivars = class_copyIvarList([self class], &numIvars); | |
for(int i = 0; i < numIvars; i++) { | |
Ivar thisIvar = ivars[i]; | |
const char *type = ivar_getTypeEncoding(thisIvar); | |
NSString *stringType = [NSString stringWithCString:type encoding:NSUTF8StringEncoding]; | |
if (![stringType hasPrefix:@"@"]) { |
This file contains hidden or 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
# Uncrustify 0.59 | |
# | |
# General options | |
# | |
# The type of line endings | |
newlines = auto # auto/lf/crlf/cr | |
# The original size of tabs in the input |
This file contains hidden or 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
// | |
// NSString+Version.m | |
// FAW-VW | |
// | |
// Created by ChenYu Xiao on 12-6-25. | |
// Copyright (c) 2012年 Sumi Interactive. All rights reserved. | |
// | |
#import "NSString+Version.h" |