| 930 | } |
| 931 | |
| 932 | CACollectionViewCell* CAAutoCollectionView::dequeueReusableCellWithIdentifier(const char* reuseIdentifier) |
| 933 | { |
| 934 | CACollectionViewCell* cell = NULL; |
| 935 | |
| 936 | if (reuseIdentifier && !m_mpFreedCollectionCells[reuseIdentifier].empty()) |
| 937 | { |
| 938 | cell = m_mpFreedCollectionCells[reuseIdentifier].back(); |
| 939 | cell->retain()->autorelease(); |
| 940 | m_mpFreedCollectionCells[reuseIdentifier].popBack(); |
| 941 | } |
| 942 | |
| 943 | return cell; |
| 944 | } |
| 945 | |
| 946 | CACollectionViewCell* CAAutoCollectionView::getHighlightCollectionCell() |
| 947 | { |
nothing calls this directly
no test coverage detected