FDCalendar
A custom calendar control in iOS
Introduction
FDCalendar is a custom calendar control which includes world and chinese calendar date. It supports scrolling by left and right to jump to previous or next month date, also it can jump to the date which is selected. Otherwise it seems beautiful and good using. If you want to change some style of it, you need to fork it and modify the properties by yourself. If you think it is helpful, please star it.
Preview
ScreenShot
Get started
- Download the source file in the folder FDCalendar.
- Add the FDCalendar.h and FDCalendar.m files to your project.
- Import the FDCalendar.h file where you want to use it. Jsut add a instance of it to your view as a subview.
Usage
FDCalendar
- The instance of it is init with a date, and you don't have to set it's frame but change it's frame's origin to show it at th position you like.
FDCalendar *calendar = [[FDCalendar alloc] initWithCurrentDate:[NSDate date]];
CGRect frame = calendar.frame;
frame.origin.y = 20;
calendar.frame = frame;
[self.view addSubview:calendar];
#License MIT