All Projects → wanggang316 → Zbjcalendar

wanggang316 / Zbjcalendar

Licence: mit
ZBJCalendar is a simple calendar framework for iOS.

Labels

Projects that are alternatives of or similar to Zbjcalendar

Widget
A set of widgets based on jQuery&&javascript. 一套基于jquery或javascript的插件库 :轮播、标签页、滚动条、下拉框、对话框、搜索提示、城市选择(城市三级联动)、日历等
Stars: ✭ 1,579 (+1027.86%)
Mutual labels:  calendar
Booking App
Laravel 5.1 web application for booking appointments
Stars: ✭ 130 (-7.14%)
Mutual labels:  calendar
React Input Calendar
Stars: ✭ 138 (-1.43%)
Mutual labels:  calendar
Sms Backup Plus
Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
Stars: ✭ 1,626 (+1061.43%)
Mutual labels:  calendar
Devextreme Reactive
Business React components for Bootstrap and Material-UI
Stars: ✭ 1,800 (+1185.71%)
Mutual labels:  calendar
Punic
PHP translation and localization made easy!
Stars: ✭ 133 (-5%)
Mutual labels:  calendar
Skcalendarview
SKCalendarView是一个高可控性的日历基础组件,为了提高应用的自由度,默认只提供了日历部分的视图封装,但不涵盖切换月份按钮、年月分显示等非关键性控件,但请不要担心,SKCalendarView为你提供了多样性的API,你可以很轻松的拿到这些信息去展示在你自己的自定义控件中。不仅如此,SKCalendarView还为你封装了公历、农历、节假日以及中国24节气的核心算法,即使你觉得默认的视图并不合胃口,也可以直接快速的利用这套算法创造出一个全新的日历控件。最后,SKCalendarView还提供了一些简单的切换动画,如果你不喜欢它,可以忽略掉,用自己的,这里完全不会受到任何限制。
Stars: ✭ 121 (-13.57%)
Mutual labels:  calendar
Life Calendar
A look at the big picture.
Stars: ✭ 139 (-0.71%)
Mutual labels:  calendar
Calendarview
Android 平台上继承 View 实现的自定义日历控件
Stars: ✭ 129 (-7.86%)
Mutual labels:  calendar
Jtoday
This is an extremely brief notification center calendar plugin (Swift).
Stars: ✭ 137 (-2.14%)
Mutual labels:  calendar
React Native Event Calendar
A React-Native iOS style calendar implemented using VirtualizedList.
Stars: ✭ 127 (-9.29%)
Mutual labels:  calendar
Egroupware
Web based groupware server written in PHP, forum at https://help.egroupware.org/
Stars: ✭ 128 (-8.57%)
Mutual labels:  calendar
Calendar
Simple event calendar, with agenda view
Stars: ✭ 135 (-3.57%)
Mutual labels:  calendar
Flask Calendar
Simple Python & Flask web-calendar
Stars: ✭ 125 (-10.71%)
Mutual labels:  calendar
Openki
We moved to GitLab 💔 Openki is a tool to build up and organize local communities – Open education for real.
Stars: ✭ 137 (-2.14%)
Mutual labels:  calendar
Wxa Plugin Calendar
小程序插件-预约日历插件-微信小程序日历插件
Stars: ✭ 124 (-11.43%)
Mutual labels:  calendar
Flutterweekview
Displays a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more !
Stars: ✭ 130 (-7.14%)
Mutual labels:  calendar
Tail.datetime
A lightweight, translat- and configurable Open Source DateTime Picker, written in pure vanilla JavaScript!
Stars: ✭ 139 (-0.71%)
Mutual labels:  calendar
React Calendar
Ultimate calendar for your React app.
Stars: ✭ 2,082 (+1387.14%)
Mutual labels:  calendar
Khal
📆 CLI calendar application
Stars: ✭ 1,888 (+1248.57%)
Mutual labels:  calendar

ZBJCalendar GitHub license Cocoapods Codewake

ZBJCalendar is a simple way to create a calendar view. The concept of ZBJCalendar is UICollectionView or UITableView.

As we know, UICollectionView and UITableView set up the corresponding relations between cell and indexPath. Differently, ZBJCalendar set up the corresponding relations between cell and date, this is important to understand ZBJCalendar.

Requirements

  • iOS7 or later

Installation with CocoaPods

pod 'ZBJCalendar'

Installation with Carthage

github "wanggang316/ZBJCalendar"

Architecture

ZBJCalendarView

This is the main class of ZBJCalendar, an instance of this is a calendar view.

You can find some familiar properties and new properties:

  • dataSource is <ZBJCalendarDataSource> protocol property which used to custom cells or headers
  • delegate is <ZBJCalendarDelegate> protocol property which used to handle the display and behaviour of the day cells.
  • firstDate and lastDate use to set the calendar's start date and end date.
  • selectionMode is a enum of ZBJSelectionMode which express the single selection or mutable selection or can't be select.

Also, it contains some familiar methods like:

  • - (void)registerCellClass:(id)clazz withReuseIdentifier:(NSString *)identifier;
  • - (void)reloadData;
  • - (id)cellAtDate:(NSDate *)date;
  • - (void)reloadCellsAtDates:(NSSet<NSDate *> *)dates;

A protocol to custom the cell data model object. It supplies the cell and supplementary view's information about appearance and data.

  • - (void)calendarView:(ZBJCalendarView *)calendarView configureCell:(id)cell forDate:(NSDate *)date;
  • - (void)calendarView:(ZBJCalendarView *)calendarView configureSectionHeaderView:(id)headerView firstDateOfMonth:(NSDate *)firstDateOfMonth;
  • - (void)calendarView:(ZBJCalendarView *)calendarView configureSectionFooterView:(id)headerView lastDateOfMonth:(NSDate *)lastDateOfMonth;
  • - (void)calendarView:(ZBJCalendarView *)calendarView configureWeekDayLabel:(UILabel *)dayLabel atWeekDay:(NSInteger)weekDay;

A protocol use to handle the display and behaviour of ZBJCalendar.

  • - (BOOL)calendarView:(ZBJCalendarView *)calendarView shouldSelectDate:(NSDate *)date;
  • - (void)calendarView:(ZBJCalendarView *)calendarView didSelectDate:(NSDate *)date ofCell:(id)cell;

ZBJCalendarWeekView

ZBJCalendar provider a week view by this class, you can change it's style by implement

NSDate+ZBJAddition

This category provide utility methods for NSDate.

NSDate+IndexPath

This category provide methods used to corresponding relations between indexpath and date.

Examples

show

License

ZBJCalendar is released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].