You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create and schedule events with iCal-like views and controllers
12
18
- 3 kinds of views are available (a day planner view, a month planner view and a year view)
13
19
- Scroll infinitely through days / months, or restrict scrolling to a given date range
14
20
- Restrict range of displayed hours in the day planner view
15
-
- Page through weeks in the day planner view
21
+
- Page through weeks in the day planner view or months in the month planner view
16
22
- Use a standard view for event cells or create your own custom views
17
-
- Easily customize appearance and layout (date format, size of headers, number of visible days...)
23
+
- Easily customize appearance and layout (date format, colors, fonts, size of headers, number of visible days...)
18
24
- Create events by tap-and-hold on the view
19
25
- Drag-and-drop events to another date or time
20
26
- Scroll through days / months while dragging
21
27
- Specialized controllers for EventKit data source but can easily work with any custom event provider
22
28
- Background event loading for the EventKit controllers
23
29
- Ability to show an activity indicator for days while events are loading
24
-
- Restrict ability to create or move events to certain dates through datasource protocol methods (currently only in day planner view)
30
+
- Restrict ability to create or move events to certain dates through datasource protocol methods
25
31
- Zoom in/out the day planner view to increase or decrease the height of hour slots
26
32
27
-
# Compatibility #
33
+
##Compatibility
28
34
29
35
iPad / iPhone with iOS 8 or higher.
30
36
31
-
# Installation #
37
+
##Installation
32
38
33
-
## CocoaPods ##
39
+
###CocoaPods
34
40
35
-
The best way is to use [CocoaPods](https://cocoapods.org/pods/CalendarLib). Add the following line to your `Podfile`:
41
+
The best way is to use [CocoaPods](https://cocoapods.org/pods/CalendarLib). Add the following line to your Podfile:
36
42
37
-
pod 'CalendarLib', '~> 1.0'
43
+
```ruby
44
+
pod "CalendarLib"
45
+
```
38
46
39
-
## The old way ##
47
+
###The old way
40
48
41
-
If you don't want to use CocoaPods, you need to copy the content of the CalendarLib folder into your project, as well as the source of the two dependencies: [OSCache](https://github.com/nicklockwood/OSCache) and [OrderedDictionary](https://github.com/nicklockwood/OrderedDictionary).
49
+
If you don't want to use CocoaPods, you need to copy the content of the CalendarLib folder into your project, as well as the source of the two dependencies: [OSCache](https://github.com/nicklockwood/OSCache) and [OrderedDictionary](https://github.com/nicklockwood/OrderedDictionary).
42
50
43
-
# Getting started #
51
+
##Getting started
44
52
45
53
1. If you want to use EventKit as a data source, create an instance of `MGCDayPlannerEKViewController` or `MGCMonthPlannerEKViewController`, or subclass them for your own needs.
46
54
@@ -53,10 +61,12 @@ If you don't want to use CocoaPods, you need to copy the content of the Calendar
53
61
54
62
3. If you want to use a custom event cell, subclass `MGCEventView` or `MGCStandardEventView` and register the class with the day / month planner view.
55
63
56
-
See the demo project to get an idea of how to use the library.
64
+
See the demo project to get an idea of how to use the library and check the [documentation](http://cocoadocs.org/docsets/CalendarLib/)
57
65
58
-
Have a look at the CalendarDocs folder for (incomplete) documentation on the day planner view.
66
+
## License
59
67
60
-
# License #
68
+
CalendarLib is available under the MIT license. See the LICENSE file.
61
69
62
-
MGC Graphical Calendars Library is available under the MIT license. See the LICENSE file.
70
+
## Change-log
71
+
72
+
A summary of each CalendarLib release can be found in the [CHANGELOG](CHANGELOG.md).
0 commit comments