Commit Graph

294 Commits

Author SHA1 Message Date
WenchaoIOS a8ea508121 Fix double click problem
Fix double click problem
2015-11-08 09:49:18 +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 6ad2658ec7 Should deselect selected counterpart date while clicking on counterpart date
Should deselect selected counterpart date while clicking on counterpart
date
2015-11-07 21:48:03 +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 9151f7a484 Forgot about setNeedsLayout....
Forgot about setNeedsLayout....
2015-11-07 18:52:34 +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 28a09164a6 initWithFrame:collectionViewLayout should also be intercepted
1. initWithFrame:collectionViewLayout should also be overriden
2. Reset stickyHeaders after orientation changing
2015-11-04 17:28:37 +08:00
dingwenchao fad2baf155 Async dataSource fetching, not date calculation
Async dataSource fetching, not date calculation
2015-11-04 10:53:16 +08:00
f33chobits 9c2cafebe8 Fix selectedDate problem in multi-selection Mode
Fix selectedDate problem in multi-selection Mode
2015-11-03 21:31:27 +08:00
dingwenchao 7ed0074a89 Update Swift Example
Update Swift Example
2015-11-03 20:12:30 +08:00
dingwenchao 4280ff3a32 Update Swift Example
1. Update Swift Example
2. Fix problem #136
2015-11-03 18:04:33 +08:00
f33chobits 397bcb951f Merge branch '1.6.3' 2015-11-02 23:53:57 +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 22738aa593 Merge branch '1.6.2' 2015-11-02 00:05:10 +08:00
f33chobits 8893de9ea0 Merge branch '1.6.2-patch' into 1.6.2 2015-11-02 00:04:00 +08:00
f33chobits 10e5672060 Better performace
1. Better performance
2. Update sticky-header while updating header
3. Better header size
2015-11-02 00:03:38 +08:00
Wenchao Ding 5587f3bd08 Merge pull request #133 from WenchaoIOS/1.6.2
Merge branch 'master' into 1.6.2
2015-11-01 18:03:54 +08:00
f33chobits f96fd6eada Merge branch 'master' into 1.6.2 2015-11-01 17:59:16 +08:00
f33chobits fd10611585 reloadVisibleCells
reloadVisibleCells
2015-11-01 17:56:04 +08:00
f33chobits 16bbed7474 Merge tag '1.6.2' 2015-11-01 16:23:13 +08:00
f33chobits 35d67dcdd5 Update SwiftExample
1. Update SwiftExample
2. Fix some select-deselect problem
2015-11-01 16:03:56 +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 b6f4881619 Merge branch '1.6.1' 2015-10-29 22:41:51 +08:00
dingwenchao 54b3de24ad Fix problem #131
Fix problem #131
2015-10-28 14:23:34 +08:00
dingwenchao 6374707a0a Update color
Update color
2015-10-28 11:03:53 +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 924ca2be56 Size calculation must be based on month mode
Size calculation must be based on month mode
2015-10-26 16:50:25 +08:00
dingwenchao e27aba8c66 Size calculation for startup at WeekMode
Size calculation for startup at WeekMode
2015-10-26 16:36:41 +08:00
dingwenchao 12e184abde Subclass UICollectionView to turn off system action for UIScrollView
Such as:
1. scrollsToTop
2. automaticallyAdjustingScrollViewInsets
2015-10-26 14:57:01 +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
f33chobits d5fbfefd53 Fix problem #123
Fix problem #123 - Crash while scrolling out of bounds.
2015-10-24 11:13:18 +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
Wenchao Ding 3844fd7c98 Merge pull request #122 from lucianocn/master
implemented UIApplicationSignificantTimeChangeNotification (1.6.1)
2015-10-21 09:47:35 +08:00
Luciano Carone do Nascimento 1f6255dd41 implemented UIApplicationSignificantTimeChangeNotification (update today) 2015-10-27 00:03:19 -02:00
f33chobits b10bc40dd1 Update Readme
Update Readme
2015-10-18 11:55:20 +08:00
f33chobits bc28ac9a5f Update Readme
Update Readme
2015-10-18 11:52:52 +08:00
f33chobits f9e598c585 Merge tag '1.6.0' 2015-10-18 11:45:31 +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 0b54953977 Should also deselect placeholder cells
Should also deselect placeholder cells
2015-10-13 19:17:14 +08:00
dingwenchao fcf2c31b62 deselectDate:
deselectDate:
2015-10-13 19:08:47 +08:00
dingwenchao 735727a8a1 Merge branch '1.6.0-scrollEnabled' into 1.6.0 2015-10-12 09:37:35 +08:00
f33chobits 8481ae1615 Version Bump 1.6.0
1. Version Bump 1.6.0
2. Fix warning throwed by analyzing
2015-10-11 17:06:29 +08:00
dingwenchao 87870f80a6 Add scrollEnabled property
Add scrollEnabled property
2015-10-10 17:27:58 +08:00