AYHorindar
About
Customizable horizontal calendar view controller.
Demo
Installation
AYHorindar is available through CocoaPods. To install it, simply add the following line to your Podfile:
inhibit_all_warnings!
target 'YOUR_TARGET_NAME' do
use_frameworks!
pod 'AYHorindar'
end
Usage
// 'horindarDelegate' - object that conform to protocol 'AYHorindarDelegate'.
// 'horindarUIDelegate' - object that conform to protocol 'AYHorindarUIDelegate'.
// 'horindarDataSource' - object that conform to protocol 'AYHorindarDataSource'.
// 'someView' - UIView on which you want add the horizontal calendar.
let calendar = AYHorindarViewController()
calendar.delegate = horindarDelegate
calendar.uiDelegate = horindarUIDelegate
calendar.dataSource = horindarDataSource
someView.addSubview(calendar.view)
someView.addAllSidesAnchors(to: calendar.view)
AYHorindarUIDelegate
Author
Anton Yereshchenko
License
AYHorindar is available under the MIT license. See the LICENSE file for more info.