2010年8月29日

The webkitTransform problem of iPhone 4G

On iPhone 4G
this.element.style.webkitTransform = translate(...) is very slow.

You should use
this.element.style.webkitTransform = translate3d(...)

2010年8月9日

NSData dataWithContentsOfURL has memory leak problem

NSData dataWithContentsOfURL has memory leak problem.

Should use it like below.

NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

// ** Your Operations **

NSData *data = [NSData dataWithContentsOfURL:someURL];

// ** Your Operation **

[pool release];