Re: UICollectionViewCell
Re: UICollectionViewCell
- Subject: Re: UICollectionViewCell
- From: Luke the Hiesterman <email@hidden>
- Date: Thu, 11 Apr 2013 19:25:42 -0700
Yep, you want to use registerNib:forCellWithReuseIdentifier:
If you register a class we just alloc/init it for you.
Luke
On Apr 11, 2013, at 7:24 PM, koko <email@hidden>
wrote:
>
> On Apr 11, 2013, at 8:23 PM, Luke the Hiesterman <email@hidden> wrote:
>
>> How are you registering the reuseIdentifier? Do you use registerClass or registerNib?
>
> [self.collectionView registerClass:[CVCell class] forCellWithReuseIdentifier:@"cvCell"];
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden