• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A custom calendar control in iOS

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

preview

ScreenShot

one two two

Get started

  1. Download the source file in the folder FDCalendar.
  2. Add the FDCalendar.h and FDCalendar.m files to your project.
  3. 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