WenchaoD / FSCalendar

A fully customizable iOS calendar library, compatible with Objective-C and Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terminating app due to uncaught exception

ummerakbar21 opened this issue · comments

The following informations are requested in a bug report

terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'The cell class must be a subclass of FSCalendarCell.', reason: ''
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 12 Pro (24FD55A4-FE9A-474F-913D-5F50FB3DA3ED) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 12 Pro

code is below

calendarView.register(CustomCalendarCell.self, forCellReuseIdentifier: AppConsts.CellId.calendarCell)

import UIKit

class CustomCalendarCell: FSCalendarCell {

weak var activityIcon: UIImageView!

.....}

@ummerakbar21 I'm getting same error

@WenchaoD Can you please help us solving this issue?