I do it like this:
newCalendarView.register(MonthPlanCollectionViewCell2.classForCoder(), forCellReuseIdentifier: "a")
but it doesnt work.
This is my xib file:

Hi, any way to load custom cell from nib?
@kunass2 @kushal211 Hey! Did you have any luck with custom cells? thnx
Did anybody figure this out?
I’m registering mine like this:
calendar.register(MyCustomCell.self, forCellReuseIdentiier: “Cell”)
And it loads, but the subviews on the cell (UILabels) are always nil
@kunass2 @tinaStremenova @kushal211
i had the same problem. Solved it using this:
```
calendar.collectionView.register(UINib(nibName: "MyCell", bundle: nil), forCellWithReuseIdentifier: "cell")
Most helpful comment
i had the same problem. Solved it using this:
```
calendar.collectionView.register(UINib(nibName: "MyCell", bundle: nil), forCellWithReuseIdentifier: "cell")