Version 1.9.8 is added to the view via initframe and the display is blank var calendarView = CalendarView(frame: CGRect(x: 20, y: 20, width: 400, height: 300)) addSubview(calendarView)