CATextToolBarView *CATextToolBarView::create() { CATextToolBarView *pAlert = new CATextToolBarView(); if (pAlert && pAlert->init()) { pAlert->autorelease(); return pAlert; } CC_SAFE_DELETE(pAlert); return pAlert; }