Skip to content

Instantly share code, notes, and snippets.

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