여기 컬렉션 뷰의 코드는 표시되지 않습니다.세포
(gdb) po cell
<MWTeamCollectionCell: 0x72aff80; baseClass = UICollectionViewCell; frame = (0 0; 50 50); layer = <CALayer: 0x72b0090>>
(gdb) po cell
<MWTeamCollectionCell: 0x72b08e0; baseClass = UICollectionViewCell; frame = (67.5 0; 50 50); layer = <CALayer: 0x72b0970>>
(gdb) po cell
<MWTeamCollectionCell: 0x8aad380; baseClass = UICollectionViewCell; frame = (135 0; 50 50); layer = <CALayer: 0x8a72d20>>
어떻게해야합니까? 인터페이스 빌더의 콘센트 및 식별자 이름이 올바른지 확인하십시오. – Luda
당신이 맞습니다 :) 나는 UITableViewCell을 할당했다. 여기 (여전히 :(작동하지 않습니다) 내 새로운 코드 - (UICollectionViewCell *) collectionView : (UICollectionView *) collectionView cellForItemAtIndexPath : (NSIndexPath *) indexPath { 정적있는 NSString * CellIdentifier = @ "셀"; MWTeamCollectionCell * cell = [_teamsCollection dequeueReusableCellWithReuseIdentifier : CellIdentifier forIndexPath : indexPath] cell.teamName.text = @ "팀 이름" 반환 셀 } – Luda