Skip to content

Commit 0d0ef68

Browse files
committed
Update Podspec to 0.9.0 & README
1 parent 6b2828d commit 0d0ef68

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

PDTSimpleCalendar.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "PDTSimpleCalendar"
4-
s.version = "0.8.0"
4+
s.version = "0.9.0"
55
s.summary = "A simple Calendar/Date Picker with a nice iOS7/iOS8 design."
66

77
s.description = <<-DESC

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You should read the [Release Notes](https://github.com/jivesoftware/PDTSimpleCal
2020

2121
in your `Podfile` just add:
2222

23-
`pod 'PDTSimpleCalendar', '~> 0.8.0'`
23+
`pod 'PDTSimpleCalendar', '~> 0.9.0'`
2424

2525
then run `pod install`
2626

@@ -30,7 +30,7 @@ And finally in your project import `#import <PDTSimpleCalendar/PDTSimpleCalendar
3030

3131
In your `Cartfile` simply add:
3232

33-
`github "jivesoftware/PDTSimpleCalendar" ~> 0.8.0`
33+
`github "jivesoftware/PDTSimpleCalendar" ~> 0.9.0`
3434

3535
run `carthage update`
3636

@@ -45,17 +45,17 @@ If you don't like cocoapods or Carthage or Cocoapods-Rome, you can still import
4545
##Customize it
4646

4747
###Calendar
48-
* `firstDate` : When the calendar must starts. If you don't specify anything, it will default to the first day of the current month (based on `[NSDate date]`).
49-
* `lastDate` : When the calendar must ends. If you don't specify anything, it will default to the last day of the next year (based on `firstDate`).
48+
* `firstDate` : When the calendar must starts. If you don't specify anything, it will default to the first day of the current month (based on `[NSDate date]`). If `firstDate` is not the 1st of the month, the calendar will display the full month, but dates < `firstDate` will be disabled.
49+
* `lastDate` : When the calendar must ends. If you don't specify anything, it will default to the last day of the next year (based on `firstDate`). If `lastDate` is not the last day of the month, the calendar will display the full month, but dates > `lastDate` will be disabled.
5050
* `calendar` : Which calendar to use for display and date calculations. You can set any calendar supported by `NSCalendar`. the default value will be `[NSCalendar currentCalendar]`.
51-
52-
**New in 0.6**: if you specify a 'firstDate' and/or 'lastDate' the calendar will display the full month, but dates < firstDate or > lastDate will be disabled. You can see this behavior in the demo app.
51+
* `weekdayHeaderEnabled`: If enabled, add an extra header on top of the calendar with the days of the week. Default is NO.
52+
* `weekdayTextType`: If weekday header is enabled, you can customize the format of the label. (Short (3 letters), VeryShort (1 letter), StandAlone (Full name of the day))
5353

5454

5555
###Colors
5656
You can change the display of the calendar using `backgroundColor` & `overlayTextColor` properties on `PDTSimpleCalendarViewController`.
5757

58-
Other colors can be set using UIAppearance on `PDTSimpleCalendarViewCell` & `PDTSimpleCalendarViewHeader`
58+
Other colors can be set using UIAppearance on `PDTSimpleCalendarViewCell`, `PDTSimpleCalendarViewHeader` & `PDTSimpleCalendarViewWeekdayHeader`
5959

6060
[[PDTSimpleCalendarViewCell appearance] setCircleDefaultColor:[UIColor whiteColor]];
6161
[[PDTSimpleCalendarViewCell appearance] setCircleSelectedColor:[UIColor orangeColor]];
@@ -67,6 +67,11 @@ Other colors can be set using UIAppearance on `PDTSimpleCalendarViewCell` & `PDT
6767

6868
[[PDTSimpleCalendarViewHeader appearance] setTextColor:[UIColor redColor]];
6969
[[PDTSimpleCalendarViewHeader appearance] setSeparatorColor:[UIColor orangeColor]];
70+
71+
[[PDTSimpleCalendarViewWeekdayHeader appearance] setHeaderBackgroundColor:[UIColor lightGrayColor]];
72+
[[PDTSimpleCalendarViewWeekdayHeader appearance] setTextColor:[UIColor orangeColor]];
73+
74+
*See the Demo for the full API and even more customization.*
7075

7176
Here is how it looks in the Producteev app:
7277

@@ -76,7 +81,7 @@ Here is how it looks in the Producteev app:
7681
##License
7782

7883
```
79-
Copyright 2013 Jive Software, Inc.
84+
Copyright 2013-2015 Jive Software, Inc.
8085
8186
Licensed under the Apache License, Version 2.0 (the "License");
8287
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)