Commit Graph

97 Commits

Author SHA1 Message Date
dingwenchao e27aba8c66 Size calculation for startup at WeekMode
Size calculation for startup at WeekMode
2015-10-26 16:36:41 +08:00
f33chobits 81a90d0272 Update Swift Example
1. Change type of FSCalendarCaseOptions from NS_ENUM to NS_OPTIONS. Or
it won’t be support by binary operator in Swift.
2. Update Swift Example
2015-10-25 13:43:42 +08:00
f33chobits 522488897d Decouple
1. Subclass UICollectionViewFlowLayout for decouple
2. Subclass UICollectionView, to erase annoying warning caused by
‘automaticallyAdjustsScrollViewInsets’ of UIViewController
2015-10-25 13:31:59 +08:00
f33chobits ff0dbdd698 Remove 'k' prefix for constance
Remove 'k' prefix for constance
2015-10-25 12:14:35 +08:00
f33chobits aedb3b9f1b Fix problem #124
1. If a cell is selected and the counterpart placeholder is tapped, the
delegate method should also be triggerred.

2. Prevent the counterpart placeholder to be selected if the calendar
is in vertical floating mode(pagingEnabled=NO & scrollEnabled=YES)

3. The behavior of (2) should be opened for discussion
2015-10-24 22:34:46 +08:00
dingwenchao f68ae0757f Better size adaption
1. Better size adaption. When the frame of FSCalendar is changing, the
textSize would be changed smoothly.
2. Nil out delegate of UICollectionView. To prevent unexpected calling
of delegate methods
2015-10-23 16:23:03 +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
dingwenchao 87870f80a6 Add scrollEnabled property
Add scrollEnabled property
2015-10-10 17:27:58 +08:00
f33chobits 5dadaf3dd3 Add cell-border support
Add cell-border support
2015-10-10 07:34:05 +08:00
f33chobits a59f29259a Fix deselect issue
Fix deselect issue
2015-10-07 14:02:58 +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 105d97e83a Add FSCalendarDelegateAppearance
Add FSCalendarDelegateAppearance
2015-10-02 16:57:56 +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
dingwenchao 6c6d9133dc Update Readme
Update Readme
Update podspec
2015-08-26 16:39:17 +08:00
dingwenchao a38d468678 Change framework target to is
Change framework target to ios8
2015-08-26 15:06:26 +08:00
dingwenchao 711232a391 Share scheme problem
Share scheme problem
2015-08-26 14:48:51 +08:00
dingwenchao e01843696a Not important
Not important
2015-08-26 14:30:46 +08:00
f33chobits 226573ed88 Update
Update
2015-08-24 23:45:03 +08:00
f33chobits 38dddd89e8 Share scheme
Share scheme
2015-08-24 22:59:54 +08:00
f33chobits 52b9dfff61 Initialize carthage support
Initialize carthage support
2015-08-23 23:57:48 +08:00
f33chobits 5ee73808af Add share option
Add share option
2015-08-23 23:09:08 +08:00
f33chobits 5ea14bf8e4 Merge branch 'Project-Restructure'
Move project file inside ‘Example’
2015-08-23 18:55:09 +08:00
f33chobits 62abb65567 Deprecate flow
1. FSCalendarFlow is deprecated, use FSCalendarScrollDirection instead

2. Fix a warning
2015-08-23 18:29:43 +08:00
f33chobits 09a39b198c Update info.plist
Update info.plist
2015-08-23 17:45:27 +08:00
f33chobits 9c971fe7cd Project restructure
Remove workspace structure for example project
2015-08-23 17:37:01 +08:00
f33chobits 7f04a5b181 Add support for `todaySelectionColor`
Custom selection color for today
2015-08-22 11:51:04 +08:00
dingwenchao 5a93ab0c4f Update pods
Update pods
2015-08-18 09:57:41 +08:00
dingwenchao b9ab395872 Fix issues
1. Add locale property
2. Fix issue #64
2015-08-18 09:55:55 +08:00
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
DingWenchao a6e67e8aa8 Update pod
Update pod
2015-07-19 22:04:25 +08:00
DingWenchao fe4f315708 Update podspec
Update podspec
2015-07-11 20:08:54 +08:00
DingWenchao 5e156a614c Update Readme
Update Readme
2015-07-02 09:39:33 +08:00
DingWenchao 566b504bee Update Readme
Update Readme
2015-07-01 14:05:36 +08:00
DingWenchao d054223f2d Update example
1. Update example
2. Update Readme
2015-07-01 13:59:28 +08:00
DingWenchao 99367261bb Update example
Update example
2015-06-30 17:54:33 +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