CACollectionViewCell* CACollectionViewCell::create(const std::string& reuseIdentifier) { CACollectionViewCell* cell = new CACollectionViewCell(); if (cell && cell->initWithReuseIdentifier(reuseIdentifier)) { cell->autorelease(); return cell; } CC_SAFE_DELETE(cell); return NULL; }