- (id)initFromKey:(NSString*)key {
NSString* path = [NSHomeDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"Library/Caches/%@", key]];
@try
{
self = [NSKeyedUnarchiver unarchiveObjectWithFile:path];
}
@catch (NSException * e)
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
// This puts NSLog at start of each function in the class | |
FROM: | |
(^[-\+][^\{]+)\{ | |
TO: | |
$1\{NSLog(@"%s->%@",__FUNCTION__,@"Called"); |
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
Pod::Spec.new do |s| | |
s.name = 'Nimbus' | |
s.version = '0.9.3' | |
s.license = 'Apache License, Version 2.0' | |
s.summary = 'An iOS framework whose growth is bounded by O(documentation).' | |
s.homepage = 'http://docs.nimbuskit.info/index.html' | |
s.author = { 'Jeff Verkoeyen' => '[email protected]', | |
'Bubnov Slavik' => '[email protected]', | |
'Roger Chapman' => '[email protected]', | |
'Manu Cornet' => '[email protected]', |
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
Pod::Spec.new do |s| | |
s.name = 'FMDB' | |
s.version = '2.0' | |
s.summary = 'A Cocoa / Objective-C wrapper around SQLite.' | |
s.homepage = 'https://github.com/ccgus/fmdb' | |
s.license = 'MIT' | |
s.author = { 'August Mueller' => '[email protected]' } | |
s.source = { :git => 'https://github.com/ccgus/fmdb.git', | |
:commit => '3d7eaf67bee4bd8ca2d62fd1a83f3db711d504f3' } | |
s.requires_arc = true |
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
Pod::Spec.new do |s| | |
s.name = "dyci" | |
s.version = "0.0.3.10232012" | |
s.summary = "Dynamic code injection tool. Allows to inject code at runtime." | |
s.homepage = "https://github.com/DyCI/dyci-main" | |
s.license = 'MIT' | |
s.author = { "Paul Taykalo" => "[email protected]" } |
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 Dates first | |
Replace : | |
(\w+):\s*"\d+-\d+.* | |
with | |
@property(nonatomic, strong) NSDate * $1; | |
#2 Strings after that | |
Replace : | |
(\w+):\s*".* | |
with |
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
NSMutableSet * set = [NSMutableSet set]; | |
[@[] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { | |
if ([obj isKindOfClass:[MyClass class]]) { | |
[set addObject:obj]; | |
} | |
}]; |
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
PROJECT_NAME = "CedarExample" | |
CONFIGURATION = "Release" | |
WORKSPACE_NAME = "CedarExample" | |
SCHEME_NAME = "CedarExampleTests" | |
SPECS_TARGET_NAME = "CedarExampleTests" | |
SDK_VERSION = "6.0" |
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
Pod::Spec.new do |s| | |
s.name = 'Nimbus' | |
s.version = '1.0.2' | |
s.license = 'Apache License, Version 2.0' | |
s.summary = 'An iOS framework whose growth is bounded by O(documentation).' | |
s.homepage = 'http://docs.nimbuskit.info/index.html' | |
s.author = { 'Jeff Verkoeyen' => '[email protected]', | |
'Bubnov Slavik' => '[email protected]', | |
'Roger Chapman' => '[email protected]', | |
'Manu Cornet' => '[email protected]', |
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
Pod::Spec.new do |s| | |
s.name = "KeepLayout" | |
s.version = "1.3.0" | |
s.summary = "Making Auto Layout easier to code." | |
s.homepage = "https://github.com/iMartinKiss/KeepLayout" | |
s.license = { :type => 'MIT', :file => 'LICENSE.md' } | |
s.author = 'Martin Kiss' | |
s.source = { :git => "https://github.com/iMartinKiss/KeepLayout.git", :commit => "9641ab993c8261ce7b10ae3c42f8c173c853ef7c" } |
OlderNewer