An elegant calendar control for iOS.
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.
- 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.
To run the example project, clone the repo, and run pod install
from the Example directory first.
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"
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 callreloadViewAnimated:
method to update the view.
Enjoy it!!
The project is available under the MIT license. See the LICENSE file for more info.