AYHorindar 1.0.4

AYHorindar 1.0.4

Anton Yereshchenko 维护。



  • Anton Yereshchenko

AYHorindar

CI Status Version License Platform

关于

可自定义的水平日历视图控制器。

演示

安装

AYHorindar 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中

inhibit_all_warnings!

target 'YOUR_TARGET_NAME' do
  use_frameworks!
	pod 'AYHorindar'
end

用法

// '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

作者

Anton Yereshchenko

许可

AYHorindar 在 MIT 许可证下可用。更多信息请参阅 LICENSE 文件。