| 740 | } |
| 741 | |
| 742 | CACollectionViewCell* CACollectionView::dequeueReusableCellWithIdentifier(const char* reuseIdentifier) |
| 743 | { |
| 744 | CACollectionViewCell* cell = NULL; |
| 745 | |
| 746 | if (reuseIdentifier && !m_mpFreedCollectionCells[reuseIdentifier].empty()) |
| 747 | { |
| 748 | cell = m_mpFreedCollectionCells[reuseIdentifier].back(); |
| 749 | cell->retain()->autorelease(); |
| 750 | m_mpFreedCollectionCells[reuseIdentifier].popBack(); |
| 751 | } |
| 752 | |
| 753 | return cell; |
| 754 | } |
| 755 | |
| 756 | CACollectionViewCell* CACollectionView::getHighlightCollectionCell() |
| 757 | { |
nothing calls this directly
no test coverage detected