Commit Graph

52 Commits

Author SHA1 Message Date
Wenchao Ding 32fbb6aca8 Clean up examples 2016-11-01 20:57:30 +08:00
Wenchao Ding 03e688ffe9 Decouples 2016-10-29 11:14:53 +08:00
Wenchao Ding fb915abc11 FSCalendarSeparators 2016-10-27 16:39:12 +08:00
Wenchao Ding ae203f8a17 calendar.appearance.weekdayBackground 2016-10-22 19:46:27 +08:00
WenchaoD 967ff6e47a Update Examples 2016-10-16 14:27:55 +08:00
WenchaoD ee54c5762e Update README.md 2016-10-12 11:02:25 +08:00
WenchaoD b8a57c935a Update example 2016-10-11 10:59:32 +08:00
WenchaoD 2ede59bd3b iOS10 adaption 2016-09-27 18:55:48 +08:00
WenchaoD c445fadb3a Update README.md, clean up. 2016-09-26 10:10:06 +08:00
WenchaoD a6bb3075da Deprecate redundant helpers 2016-09-18 17:54:46 +08:00
WenchaoD 3e3b1f34d7 Add today extensions 2016-09-10 10:14:09 +08:00
WenchaoD 480ead26e6 Change deployment target to 8.0, fix warnings 2016-09-06 16:35:30 +08:00
Wenchao Ding 38d1150dda No scrolling in orientation-rotation animation
No scrolling in orientation-rotation animation
2016-09-05 09:20:10 +08:00
Wenchao Ding a9a8da10ea Add nil protection
Add nil protection
2016-09-02 10:29:19 +08:00
Wenchao Ding ee5e1961c6 Update Example
Update Example
2016-07-31 20:53:50 +08:00
Wenchao Ding 8bd92bf508 Add offsets, event selection colors
Add offsets, event selection colors
2016-07-23 14:49:22 +08:00
Wenchao Ding 1df6ad5f69 Add -calendar:titleForDate:
Add -calendar:titleForDate:
2016-05-26 10:35:30 +08:00
Wenchao Ding bc3ce07132 Add -centerForDate: and -frameForDate:
Better for a popover
2016-04-24 16:44:11 +08:00
Wenchao Ding ee8b6d3a0d Kill some runtime warnings
- Kill some runtime warnings
- Add pragma mark
2016-03-19 18:33:54 +08:00
dingwenchao e4ea67a4c4 Use [-calendar:boundingRectWillChange:animated:] instead of [-calendarCurrentScopeWillChange:animated:]
Use [-calendar:boundingRectWillChange:animated:] instead of
[-calendarCurrentScopeWillChange:animated:]

This is a preparing for next feature - Hides the placeholder dates. If
this feature is included, there would be more than one cases for the
calendar to change “frame” (If the placeholder dates are hidden, there
would be 4 rows for some months, 2015-02 .e.g; and there would be 6
rows for some months, 2016-01 .e.g; and there would be 5 in most cases)
2016-03-01 21:21:57 +08:00
dingwenchao e6315af801 Support "multiple events"
1. Support "multiple events”
2. Fix #198
2016-02-05 11:23:53 +08:00
dingwenchao e852116974 Improve 'deprecate' macro
1. Improve 'deprecate' macro
2. Fix warnings
3. Kill redundant codes
4. Update Readme.md
2016-01-24 12:20:34 +08:00
dingwenchao cd44c39f4b Better scope transition behavior
1. Better scope transition behavior
2. Remove redundant lines
3. Improve example
2016-01-22 14:51:12 +08:00
dingwenchao 9fc79b14bb Use older api to adapting iOS7
1. Use older api to adapting iOS7
2. Fix some other iOS7 problem
2015-11-30 14:31:43 +08:00
dingwenchao fb8a05f02e Update 1.7.1.beta
1. Supports font customisation
2. Supports titleVerticalOffset and subtitleVerticalOffset
3. Remove SSLunarDate dependency, use NSCalendar and
NSCalendarIdentifierChinese instead
2015-11-29 19:00:56 +08:00
dingwenchao 16ad4a3ebb Code clean
Clean unused code
2015-11-17 15:34:59 +08:00
dingwenchao 5a7cdd7636 Update Example
1. Update Example
2. Update .gitignore
2015-11-17 15:27:57 +08:00
dingwenchao 18d9363dbf Huge update
1. Support NSCalendarIdentifier
2. Update Example
3. Fix some problem
2015-11-17 14:47:44 +08:00
dingwenchao 4a9c8e54cf Fix problem changing first weekday in fullscreen
1. Fix problem changing first weekday in fullscreen
2. Optimise scope transition
2015-11-11 10:19:09 +08:00
dingwenchao 906b92e324 Header shows 'middle of the week'
1. Header shows 'middle of the week' instead of ‘first day of week’
2. Fix blink while performing scope-transition
3. Update example with scope-transition sample code
2015-11-10 19:18:07 +08:00
WenchaoIOS 0446f9febf NSDateComponents sharedInstance
1. Make NSDateComponents in NSDate+FSExtension.h single instance, avoid
alloc every time using it. This makes performance better

2. Optimize other logic
2015-11-08 09:13:09 +08:00
WenchaoIOS 5c3560f640 Clean selectedDate while selectedCell is beyond screen
Clean selectedDate while selectedCell is beyond screen
2015-11-07 20:03:51 +08:00
WenchaoIOS 6784270167 Update Example
1. Update Example
2. Single instance NSDateFormatter
3. Fix performance issue
2015-11-07 09:08:56 +08:00
dingwenchao 4280ff3a32 Update Swift Example
1. Update Swift Example
2. Fix problem #136
2015-11-03 18:04:33 +08:00
dingwenchao b19c6bca0d Version 1.6.2
1. Bump version 1.6.2
2. Update DelegateAppearance Example
3. Update iPad Example
2015-10-30 20:10:25 +08:00
f33chobits f8ba323341 Handle of details
1. File rearangement
2. Add color constance
3. Optimize size calculation function
4. No need to set clipToBounds any more
2015-10-27 22:35:55 +08:00
dingwenchao 0104a03dc6 Add FSCalendarCaseOptions
1. Add FSCalendarCaseOptions
2. Deprecate useVeryShortWeekdaySymbols
2015-10-21 18:59:36 +08:00
f33chobits 8a8ebf212c Bump Version 1.6.1
1. Bump Version 1.6.1
2. Rearrange file orders
3. Rearrange deprecated attributes and methods
4. Rearrange enums and constance
5. Replace deprecated methods with new in example
2015-10-21 11:10:43 +08:00
f33chobits 341c668986 Add `Roll` Example
1. Add `Roll` Example
2. Add invalidateAppearance: method in `FSCalendarAppearance`
3. Support borderColors and different shapes for different dates
4. Fix `placeholder selection` problem
2015-10-18 11:39:13 +08:00
dingwenchao fcf2c31b62 deselectDate:
deselectDate:
2015-10-13 19:08:47 +08:00
f33chobits c863aa6bb7 Add delegate methods
1. Add delegate methods
	1). `calendar:appearance:titleDefaultColorForDate:`
        2). `calendar:appearance:subtitleDefaultColorForDate:`

2. Version bump

3. Add delegate appearance example
2015-10-04 10:27:45 +08:00
f33chobits 535d07a996 Fix problem - When pagingEnabled is NO, selectDate: in viewDidLoad did not perform scrolling
1. Fix problem - When pagingEnabled is NO, selectDate: in viewDidLoad
did not perform scrolling
2. Update example for testing
2015-10-02 15:57:54 +08:00
f33chobits d28c923c36 Add test case for selectDate
1. Add test case for selectDate
2. Version bump
2015-10-01 09:14:42 +08:00
f33chobits 323ea42c6e Merge branch 'pagingEnable'
1. Add fullscreen calendar example
2. Fix xcode7 warning
3. Fix selectDate: problem
2015-09-27 19:53:30 +08:00
f33chobits e38574f79e Simulate event triggering of UICollectionView
1. Invocation of [selectDate:] or [selectDate:animated:] doesn’t
trigger delegate
2. Use delegate methods ‘calendar:shouldSelectDate:’ and
‘calendar:shouldDeselectDate:’ to control the accessiblity of touch
event.
3. Fix weekday issue #87
2015-09-16 22:55:02 +08:00
f33chobits c21b238346 Add delegate methods
Add delegate methods
1. calendar:shouldDeselectDate:
2. calendar:didDeselectDate:
2015-09-12 11:02:55 +08:00
dingwenchao 8bbc309c35 Multiple Selection
Use `allowsMultipleSelection` to enable this feature
2015-09-09 09:59:36 +08:00
f33chobits a6b91c443a Fix issues
1. Fix #74
2. Fix size problem for week mode
2015-09-04 21:24:27 +08:00
f33chobits 9dea135a54 Fix issues
1. Fix #72
2. Fix #73
3. Fix problem setting `scope`
2015-09-02 18:00:45 +08:00
f33chobits 4ca3d3b3a8 Add week-mode support
Add week-mode support
2015-08-29 22:12:13 +08:00