I use storyboarding for my iOS application. I also need to use [[NSBundle mainBundle] loadNibNamed:@"myxib" owner:self options:nil]; method to load a nib file.
After I loaded the nib file, UICollectionViewCell* newCell = [collectionView dequeueReusableCellWithReuseIdentifier:@"recentItemsCell" forIndexPath:indexPath]; starts giving runtime error. I think calling loadNibNamed method removes the registered cells (that are registered by storyboard) because when I delete the loadNibNamed line, I can dequeueCell without any problem.
is there any way to load a nib file for a view controller by not removing the prototype cell registrations made by the storyboard?
Thanks in advance