Skip to content

Commit c6fbfb9

Browse files
committed
added new screenshots - added CHANGELOG - modified README
1 parent 2d0e585 commit c6fbfb9

12 files changed

+104
-21
lines changed

Diff for: CHANGELOG.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# CHANGELOG
2+
3+
## v. 2.0
4+
5+
- Deployment target is now iOS 8.0
6+
- The library is now fully compatible with both iPad and iPhone
7+
- Many new APIs for both the day planner and the month planner
8+
- Few optimizations and bug fixes
9+
10+
### Day Planner
11+
12+
- `MGCDayPlannerView` :
13+
- new property `daySeparatorsColor`
14+
- new property `timeSeparatorsColor`
15+
- new property `currentTimeColor`
16+
- new property `eventIndicatorDotColor`
17+
- new property `hourRange`
18+
19+
- `MGCDayPlannerViewDelegate` :
20+
- new method `dayPlannerView:attributedStringForTimeMark:time:`
21+
- new method `dayPlannerView:attributedStringForDayHeaderAtDate:`
22+
23+
24+
### Month planner
25+
26+
- `MGCMonthPlannerView` :
27+
- new property `dayCellHeaderHeight`
28+
- new property `dateFormat`
29+
- new property `gridStyle`
30+
- new property `monthHeaderStyle`
31+
- new property `monthInsets`
32+
- new property `style`
33+
- new property `eventsDotColor`
34+
- new method `reloadEventsAtDate:`
35+
- new property `allowsSelection`
36+
- new property `selectedEventDate`
37+
- new property `selectedEventIndex`
38+
- new property `selectedEventView`
39+
- new property `calendarBackgroundColor`
40+
- new property `weekDayBackgroundColor`
41+
- new property `weekendDayBackgroundColor`
42+
- new property `weekdaysLabelTextColor`
43+
- new property `monthLabelTextColor`
44+
- new property `monthLabelFont`
45+
- new property `weekdaysLabelFont`
46+
- new property `weekDaysStringArray`
47+
- new property `pagingMode`
48+
- new method `scrollToDate:alignment:animated:`
49+
- new property `canCreateEvents`
50+
- new property `canMoveEvents`
51+
52+
- `MGCMonthPlannerViewDelegate`:
53+
- new method `monthPlannerView:attributedStringForDayHeaderAtDate:`
54+
55+
### Event Kit
56+
57+
- EventKit specialized controllers (`MGCDayPlannerEKViewController` and `MGCMonthPlannerEKViewController`) :
58+
- added iPhone compatibility with the use of `UIPopoverPresentationController` for adaptive presentation of EventKit controllers
59+
- new protocol `MGCDayPlannerEKViewControllerDelegate`
60+
61+
### Contributors
62+
63+
[@xEsk](https://github.com/xEsk) : [#5](https://github.com/jumartin/Calendar/pull/5)
64+
[@varun-naharia](https://github.com/varun-naharia) : [#14](https://github.com/jumartin/Calendar/pull/14)
65+
[@dk53](https://github.com/dk53) : [#17](https://github.com/jumartin/Calendar/pull/17) [#18](https://github.com/jumartin/Calendar/pull/18)
66+
[@arnaudWasappli](https://github.com/arnaudWasappli) : [#21](https://github.com/jumartin/Calendar/pull/21)
67+
68+
Thanks!
69+

Diff for: Calendar.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
6E1A83BA9C16D9BA4D7F2B25 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28486480EAA57CF147A3825F /* Pods.framework */; };
1111
720041BA1879B2B600F3C497 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 720041B91879B2B600F3C497 /* Settings.bundle */; };
12+
721A12A21CB585CF00749F18 /* CHANGELOG.md in Sources */ = {isa = PBXBuildFile; fileRef = 721A12A11CB585CF00749F18 /* CHANGELOG.md */; };
1213
721CA1B41A9382990083F41A /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 721CA1B21A9382990083F41A /* Localizable.strings */; };
1314
721DC18918219C4D00F9470C /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 721DC18818219C4D00F9470C /* MainViewController.m */; };
1415
7258E8B11A5A98DD007F88AF /* WeekSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7258E8B01A5A98DD007F88AF /* WeekSettingsViewController.m */; };
@@ -56,6 +57,7 @@
5657
720DAE521C6269D900DF8AAA /* NSAttributedString+MGCAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSAttributedString+MGCAdditions.m"; sourceTree = "<group>"; };
5758
720DAE541C66531300DF8AAA /* MGCEventKitSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGCEventKitSupport.m; sourceTree = "<group>"; };
5859
720DAE561C66534A00DF8AAA /* MGCEventKitSupport.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGCEventKitSupport.h; sourceTree = "<group>"; };
60+
721A12A11CB585CF00749F18 /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
5961
721CA1B31A9382990083F41A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
6062
721CA1B51A9382A80083F41A /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
6163
721DC18718219C4D00F9470C /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
@@ -305,6 +307,7 @@
305307
722ABE391CB19C6600713ED3 /* CalendarLib.podspec */,
306308
723925AF188B0AE800DE9578 /* README.md */,
307309
722ABE331CB19BAC00713ED3 /* LICENSE */,
310+
721A12A11CB585CF00749F18 /* CHANGELOG.md */,
308311
72CD8BAA18228A7500F12339 /* Lib */,
309312
72B5D8F7180D73E0004ADB86 /* Demo */,
310313
72B5D910180D73E0004ADB86 /* Tests */,
@@ -595,6 +598,7 @@
595598
72B5D902180D73E0004ADB86 /* AppDelegate.m in Sources */,
596599
721DC18918219C4D00F9470C /* MainViewController.m in Sources */,
597600
72B5D8FE180D73E0004ADB86 /* main.m in Sources */,
601+
721A12A21CB585CF00749F18 /* CHANGELOG.md in Sources */,
598602
7258E8B11A5A98DD007F88AF /* WeekSettingsViewController.m in Sources */,
599603
);
600604
runOnlyForDeploymentPostprocessing = 0;

Diff for: CalendarDocs/DayPlannerView.jpg

-82.8 KB
Binary file not shown.

Diff for: CalendarDocs/DayPlannerView.png

340 KB
Loading

Diff for: CalendarDocs/DayPlannerView2.png

26.9 KB
Loading

Diff for: CalendarDocs/MonthPlannerView.jpg

-83.5 KB
Binary file not shown.

Diff for: CalendarDocs/MonthPlannerView.png

79 KB
Loading

Diff for: CalendarDocs/MonthPlannerView2.png

31.5 KB
Loading

Diff for: CalendarDocs/YearView.jpg

-132 KB
Binary file not shown.

Diff for: CalendarDocs/YearView.png

162 KB
Loading

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Julien Martin
3+
Copyright (c) 2016 Julien Martin
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+30-20
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,54 @@
1-
MGC Graphical Calendars Library (CalendarLib) is a set of views and controllers for displaying and scheduling events on iOS.
1+
# CalendarLib
22

3-
![Day Planner View](CalendarDocs/DayPlannerView.jpg?raw=true "Day planner view")
3+
[![Version](https://img.shields.io/cocoapods/v/CalendarLib.svg?style=flat)](http://cocoapods.org/pods/CalendarLib)
4+
[![License](https://img.shields.io/cocoapods/l/CalendarLib.svg?style=flat)](http://cocoapods.org/pods/CalendarLib)
5+
[![Platform](https://img.shields.io/cocoapods/p/CalendarLib.svg?style=flat)](http://cocoapods.org/pods/CalendarLib)
46

5-
![Month Planner View](CalendarDocs/MonthPlannerView.jpg?raw=true "Month planner view")
7+
CalendarLib is a set of views and controllers for displaying and scheduling events on iOS.
68

7-
![Year Calendar View](CalendarDocs/YearView.jpg?raw=true "Year calendar view")
9+
![Day Planner View](https://raw.githubusercontent.com/jumartin/Calendar/master/CalendarDocs/DayPlannerView.png "Day planner view")
10+
![Day Planner View](https://raw.githubusercontent.com/jumartin/Calendar/master/CalendarDocs/DayPlannerView2.png)
11+
![Month Planner View](https://raw.githubusercontent.com/jumartin/Calendar/master/CalendarDocs/MonthPlannerView.png "Month planner view")
12+
![Month Planner View](https://raw.githubusercontent.com/jumartin/Calendar/master/CalendarDocs/MonthPlannerView2.png)
13+
![Year Calendar View](https://raw.githubusercontent.com/jumartin/Calendar/master/CalendarDocs/YearView.png "Year calendar view")
814

9-
# Features #
15+
## Features
1016

1117
- Create and schedule events with iCal-like views and controllers
1218
- 3 kinds of views are available (a day planner view, a month planner view and a year view)
1319
- Scroll infinitely through days / months, or restrict scrolling to a given date range
1420
- 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
1622
- 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...)
1824
- Create events by tap-and-hold on the view
1925
- Drag-and-drop events to another date or time
2026
- Scroll through days / months while dragging
2127
- Specialized controllers for EventKit data source but can easily work with any custom event provider
2228
- Background event loading for the EventKit controllers
2329
- 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
2531
- Zoom in/out the day planner view to increase or decrease the height of hour slots
2632

27-
# Compatibility #
33+
## Compatibility
2834

2935
iPad / iPhone with iOS 8 or higher.
3036

31-
# Installation #
37+
## Installation
3238

33-
## CocoaPods ##
39+
### CocoaPods
3440

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 :
3642

37-
pod 'CalendarLib', '~> 1.0'
43+
```ruby
44+
pod "CalendarLib"
45+
```
3846

39-
## The old way ##
47+
### The old way
4048

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).
4250

43-
# Getting started #
51+
## Getting started
4452

4553
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.
4654

@@ -53,10 +61,12 @@ If you don't want to use CocoaPods, you need to copy the content of the Calendar
5361

5462
3. If you want to use a custom event cell, subclass `MGCEventView` or `MGCStandardEventView` and register the class with the day / month planner view.
5563

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/)
5765

58-
Have a look at the CalendarDocs folder for (incomplete) documentation on the day planner view.
66+
## License
5967

60-
# License #
68+
CalendarLib is available under the MIT license. See the LICENSE file.
6169

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

Comments
 (0)