/Daysquare

📆 An elegant calendar control for iOS.

Primary LanguageObjective-CMIT LicenseMIT

NO LONGER MAINTAINED

Daysquare

An elegant calendar control for iOS.

Version License Platform Carthage compatible

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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Daysquare is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Daysquare', :git => 'https://github.com/unixzii/Daysquare.git'

Also, if you prefer to use Carthage, you can add the following line to your Cartfile:

github "unixzii/Daysquare"

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.