MCPcopy Create free account
hub / github.com/9miao/CrossApp / dequeueReusableCellWithIdentifier

Method dequeueReusableCellWithIdentifier

CrossApp/view/CAWaterfallView.cpp:646–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646CAWaterfallViewCell* CAWaterfallView::dequeueReusableCellWithIdentifier(const char* reuseIdentifier)
647{
648 CAWaterfallViewCell* cell = NULL;
649
650 if (reuseIdentifier && !m_mpFreedWaterfallCells[reuseIdentifier].empty())
651 {
652 cell = m_mpFreedWaterfallCells[reuseIdentifier].back();
653 cell->retain()->autorelease();
654 m_mpFreedWaterfallCells[reuseIdentifier].popBack();
655 }
656
657 return cell;
658}
659
660CAWaterfallViewCell* CAWaterfallView::getHighlightWaterfallCell()
661{

Callers

nothing calls this directly

Calls 5

autoreleaseMethod · 0.80
retainMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45
popBackMethod · 0.45

Tested by

no test coverage detected