Giter Site home page Giter Site logo

fdcalendar's Introduction

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

fdcalendar's People

Contributors

fergusding avatar

Stargazers

MohsinAli avatar

Watchers

MohsinAli avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.