UserDeviOS
UserDeviOS

Reputation: 89

UICollectionView within another UIcollectionView

I am working on UICollectionView, I have an idea to use a collectionView within the cell ? is it possible

while I am running the project I am getting an error that "InterFace Builder StoryBoard: Couldn't compile connection IBCocoa Touch outletConnection <IBCocoa Touch outletConnection"

What shall I do now?

can we use two collectionview in one viewcontroller and link to same class

Note:I am using storyboards.

Upvotes: 2

Views: 313

Answers (1)

LE SANG
LE SANG

Reputation: 11005

Yes, you can do that.

You need to hook up delegate and datasource of collectionView inside another Cell correctly to the cell. Check picture:

enter image description here

Upvotes: 1

Related Questions