Commit Graph

69 Commits

Author SHA1 Message Date
dingwenchao 157a6fb019 Fix issues
1. Fix #61 (calendar:ShouldSelectDate:) not called on tapping dates for
previous/next month
2. Enable header swipe, #56
2015-08-17 19:07:13 +08:00
dingwenchao 77f7ad67e3 Improvements
1. Add fakeSubtitles and fakedSelectedDay for preview
2. Update Readme
2015-08-17 17:30:28 +08:00
dingwenchao b1287fcbb9 A draft to enable IB_DESIGNABLE
A draft to enable IB_DESIGNABLE
2015-08-14 18:14:07 +08:00
f33chobits 12b08b0e40 Disable 'scrollToTop' gesture in vertical mode
Disable 'scrollToTop' gesture in vertical mode
2015-08-13 23:25:15 +08:00
dingwenchao 4b4af8df85 Replace NSSecondCalendarUnit with NSCalendarUnitSecond
Replace NSSecondCalendarUnit with NSCalendarUnitSecond #54
2015-08-13 12:55:07 +08:00
Jerrold Poh 6af10b3cc1 Can set selected date with animation 2015-07-28 12:44:01 +10:00
DingWenchao 379967ea31 Update header dynamicly
Update header dynamicly
2015-07-13 17:41:25 +08:00
DingWenchao 9678b5dba0 Scroll to currentMonth,not selectedDate
Scroll to currentMonth,not selectedDate
2015-07-13 14:11:24 +08:00
DingWenchao 27ce88cfcb Fix usage in childViewController
Fix usage in childViewController
2015-07-13 13:16:48 +08:00
DingWenchao 0a9b32f1ab Small changes
1. Update header when `headerDateFormate` is changed
2. Fix orientation problem for iPad in iOS7
2015-07-10 08:55:13 +08:00
DingWenchao d054223f2d Update example
1. Update example
2. Update Readme
2015-07-01 13:59:28 +08:00
DingWenchao ae0f12e09e Configuring cell in layoutSubviews
Configuring cell in layoutSubviews, to prevent ‘configureCell’ from
being called many times
2015-07-01 11:08:26 +08:00
DingWenchao c3a5acc60e Fix some frame-size issue in iOS7
Fix some frame-size issue in iOS7
2015-07-01 09:56:52 +08:00
DingWenchao 972f284759 Add image support
Add image support for each day
2015-06-30 17:51:00 +08:00
DingWenchao 21b0a02308 Some other changes
1. Prevent header bouncing while this month is the left bounds of
calendar
2. Cells of previous and next month can display ‘selection’ and ‘today’
state
2015-06-30 16:21:42 +08:00
DingWenchao 211b94163e Small change
Cell with date out of range won’t be selected
2015-06-30 13:07:39 +08:00
DingWenchao 19864ae37a Some changes
1. Make sure the `minumumDate` is always the first day of month, and
the `maxinumDate` the last.
2. Make sure each date in `FSCalendar` has ignored hour、minute and
second components
3. The placeholder cell now has the capability to display selectedDate
and today
2015-06-30 12:17:58 +08:00
DingWenchao 2ed1abdfdc Create branch 0.9.0
1. Change month-change delegate routine:
    before: when the scrollOffset reach half of the size of screen
    now: when releasing your finger

2. Use calendar.appearance to change color、font and other stuff of
FSCalendar
2015-06-29 17:53:08 +08:00
DingWenchao dd28942744 Update Example
1. Update Example
2. Fix ’shouldSelectDate’ problem
2015-06-27 23:28:26 +08:00
DingWenchao 47670c6f0f Update Example
1. Update Example
2. Update Podspec
3. Remove invalidateLayout
2015-06-26 10:34:57 +08:00
DingWenchao 8b882c932f Remove shared NSCalendar
Remove shared NSCalendar
2015-06-26 09:00:28 +08:00
DingWenchao 92b665e6fe Update event handling
Update event handling
2015-06-26 08:57:00 +08:00
DingWenchao 1002377b43 Deselect current
Deselect current
2015-06-26 08:46:33 +08:00
DingWenchao dc45d7ae98 Update example
Update example
2015-06-26 08:34:37 +08:00
DingWenchao cab5efde5a Some optimization
Some optimization
2015-06-26 08:29:24 +08:00
DingWenchao 10069b303f Add ViewDidLoadExample and LoadViewExample
Add ViewDidLoadExample and LoadViewExample
2015-06-25 18:44:14 +08:00
DingWenchao a84e673773 Update to 7.0
Update to 7.0
2015-06-15 16:08:09 +08:00
f33chobits 39e579b882 Add minumumDate and maximumDate support
Add dataSource methods for minimumDate and maximumDate
2015-05-09 18:03:41 +08:00
DingWenchao 1b11db5abe Not important
Not important
2015-05-07 10:07:02 +08:00
f33chobits 979a3dc2c9 A little optimization
A little optimization and problem-fix
2015-05-07 07:18:35 +08:00
f33chobits 152414ba66 Fix cell-wrapping problem
Fix cell-wrapping problem
2015-04-16 21:41:06 +08:00
f33chobits a02cdcbe22 Fix cell-wrapping problem
Fix cell-wrapping problem
2015-04-16 21:40:00 +08:00
f33chobits 8a900ab3fa Fix problem adding calendar in code
Fix problem adding calendar in code
2015-04-12 12:25:12 +08:00
f33chobits cd1a25a7f7 Fix problems
1. Fix `pod try` problem
2. Fix bugs
2015-04-10 16:36:54 +08:00
f33chobits 073ff18e1a Add IBInspectable
Add IBInspectable
2015-04-05 20:25:45 +08:00
f33chobits 0fb3a10b02 Fix issue #20
Fix wrong month-scrolling problem
2015-04-05 09:52:30 +08:00
Wenchao Ding e08f65dfd3 DelegateFlowLayout is not necessary
DelegateFlowLayout is not necessary
2015-04-01 09:27:17 +08:00
Wenchao Ding 1dc0d8ff98 Strong declaration
Strong declaration
2015-04-01 09:25:35 +08:00
Wenchao Ding 447bd67a1f Fix orientation problem
Fix orientation problem
2015-03-30 17:19:44 +08:00
f33chobits b9b00d57ef Fix issues
1. Fix lunar problem in demo project
2. Fix issue #18
2015-03-28 09:51:08 +08:00
Wenchao Ding 933b9f96f9 Fix issues
Fix issue #14
2015-03-19 17:11:33 +08:00
Wenchao Ding 6ae3f97470 Update demo with firstweekday setting
Update demo with firstweekday setting
2015-03-19 10:43:54 +08:00
Wenchao Ding a7ffc6c7be Fix issues
Fix issues:
#14
#15
2015-03-19 09:48:06 +08:00
Wenchao Ding 46ecc00c77 Update example
Update example
2015-03-18 16:34:41 +08:00
Wenchao Ding 0a2045a481 Add firstWeekday property
Add firstWeekday property
2015-03-18 16:22:38 +08:00
f33chobits 4d5798eb60 code-optimization
1. weakly variables that are not necessarily strong
2. make currentMonth writable
3. code format
2015-03-17 22:52:25 +08:00
Wenchao Ding 056ed48dbd Add date selection in demo project
Add date selection in demo project
2015-03-17 10:53:34 +08:00
f33chobits def86905d0 Fix some problems
1. Make selectedDate writable
2. Fix cell blink problem #11
2015-03-17 00:18:16 +08:00
f33chobits 7cf8db383f Make selectedDate writable
Make selectedDate writable
2015-03-16 20:56:57 +08:00
Wenchao Ding 1d8ecb49dc Add direction switch fo header
Add direction switch for header
2015-03-16 17:37:32 +08:00