Skip to content

huangshan-ios/Jalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jalendar

Table of contents

Screenshots

Screen Shot 2021-11-12 at 23 10 41

Screen Shot 2021-11-12 at 23 18 37

Installation

CocoaPods

Updating....

Setup

Use Interface Builder

1、 Drag an UIView object to ViewController Scene
2、 Change the Custom Class to CalendarView
3、 Add CalendarConfig for Calendar, link dataSource and delegate to the ViewController
4、 Implement CalendarDataSource and CalendarDelegate in your ViewController
5、 Calls the drawCalendar(with calendarConfig: CalendarConfig, at date: Date) to draw the Calendar

Use Code

private weak var calendar: CalendarView!
// In loadView or viewDidLoad
let calendar = CalendarView(frame: CGRect(x: 0, y: 0, width: 320, height: 300))
calendar.dataSource = self
calendar.delegate = self
view.addSubview(calendar)
self.calendar = calendar
self.calendar.drawCalendar(with: CalendarConfigBuilder.makeBuilder().build(), at: Date())

To use Jalendar see Example for details.

Support

Updating...

Contact

Updating...

About

This is a framework for calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published