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 CCSprite ( hd ) | |
+(id)spriteWithSpriteFrameName:(NSString*)spriteFrameName; | |
@end |
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
// self.nameが新しい値に更新されると呼び出される | |
KVOBlock blockFunc = ^( | |
NSString *keyPath, | |
id object, | |
NSDictionary *change, | |
id identifier) | |
{ | |
NSString *text = [change valueForKey:@"new"]; | |
// 変更された値で書き換え |
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
# -------------------------------------------------------------------------- | |
# 拡張子の異なる同じファイル名の内容を検査 | |
# "*"はコメント扱い | |
# | |
# 例) HogeHoge.csv HogeHoge.csv2 | |
# | |
# -------------------------------------------------------------------------- | |
$KCODE = "S" | |
require 'pp' |
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
/* | |
* simple SQLite3 wrapper for Objective-C. | |
* | |
* @author mootoh | |
*/ | |
#import <sqlite3.h> | |
@implementation LocalCache | |
NewerOlder