Commit Graph

112 Commits

Author SHA1 Message Date
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 fad2baf155 Async dataSource fetching, not date calculation
Async dataSource fetching, not date calculation
2015-11-04 10:53:16 +08:00
dingwenchao 4280ff3a32 Update Swift Example
1. Update Swift Example
2. Fix problem #136
2015-11-03 18:04:33 +08:00
f33chobits e795f97bb7 Update Fullscreen mode
1. Better appearance and cell size for Fullscreen Example on iPad
2. Disable ‘fillColor actions’ for cell backgroundLayer
2015-11-02 23:47:16 +08:00
dingwenchao 4d07ec7da2 Fix warnings in demo project
1. Fix warnings in ‘SSLunarDate’
2. Update Readme
3. Fix warnings while orientation is changing in iPad
4. Bump version 1.6.3
2015-11-02 17:49:41 +08:00
f33chobits ec209a238b Optimize reloadData
Optimize reloadData
2015-11-01 14:20:05 +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 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