Daysquare —— 简约优雅的日历控件

2,872 阅读1分钟

An elegant calendar control for iOS.

Introduction

Get bored with native silly UIDatePicker? You may have a try on this control. Instead of showing you an awkward wheel, it just presents as a intuitive full-size calendar with a lot of preference properties that you can change.

Screencast

Overview

Set the date

Bold current month

Features

  • Highly customizable.
  • Navigating between arbitrary dates.
  • Automatically adjust view to fit variety sizes.

[Changelog - 6.14]

  • Add: user's calendar events displaying supports.

[Changelog - 6.15]

  • Add: single row mode supports, see singleRowMode property.

Guide

Try the demo project, it's very easy to use. Daysquare follows the target-action pattern, just like the native UIDatePicker class.

PAY ATTENTION
After changing any appearance property, you have the responsibility to call reloadViewAnimated: method to update the view.

Enjoy it!!

License

The project is available under the MIT license. See the LICENSE file for more info.