Commit Graph

137 Commits

Author SHA1 Message Date
Wenchao Ding 7b605941ab Add full documentation
1.  Add full documentation
2. Add ‘nullability’
3. Update example
2016-03-26 11:29:21 +08:00
Wenchao Ding e4aaf98c9e Add event colors in delegate appearance
1. Add ‘event colors’ in delegate appearance
2. Update ignore
2016-03-24 21:36:14 +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 aaf59dab8c Version Bump 2.0.0
Version Bump 2.0.0
2016-03-17 22:55:42 +08:00
dingwenchao 1ca1b8330a Clean
Clean
2016-03-14 22:26:49 +08:00
dingwenchao 41883c8216 2.0.0.beta
1. Bring in ‘showsPlaceholder’
2. Rendering Event indicators by image instead of CALayer
3. Using FSCalendarAnimator to control animations
4. Update Examples
5. Code clean
2016-03-14 12:11:52 +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 131bba5677 Fix crash while frequently changing scope
1. Fix crash while frequently changing scope
2. Fix wrong cell layout while changing orientation under autoLayout
3. Example support RTL
4. Spelling check
2016-02-25 11:35:02 +08:00
dingwenchao dc832b81ae Fix something
1. Better date tools api
2. Fix adjusting event color in Interface builder
3. Version bump
4. Fix RTL problem
5. Use object_setIvar instead of another redundant setter
6. Fix collectionView item size warning of FSCalendarHeader
2016-02-22 15:34:37 +08:00
dingwenchao e6315af801 Support "multiple events"
1. Support "multiple events”
2. Fix #198
2016-02-05 11:23:53 +08:00
dingwenchao bb86d7085f Update framework version
1. Update framework version
2. Make ‘FSCalendarLayout’ private
2016-01-25 12:58:20 +08:00
dingwenchao 83d4a77525 Fix #165
Fix #165
2016-01-24 13:05:08 +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 dc83a35a18 1.8.0.beta
Fix wrong version number
2016-01-21 16:05:57 +08:00
dingwenchao cdf3db74a9 Bump version 1.8.1.beta
Focus on ‘selectedDate’ while chasing scope
2016-01-21 15:52:28 +08:00
dingwenchao f8a460d257 UICollectionViewDelegateFlowLayout
UICollectionViewDelegateFlowLayout
2016-01-02 17:13:12 +08:00
dingwenchao 661f376fa5 Detect orientation in App Extension
Fix #162
2015-12-20 15:53:13 +08:00
dingwenchao d4b93102fb Bug fix
Bug fix
2015-12-03 15:45:12 +08:00
dingwenchao 86719057cf Update FullscreenExample with 'lunar' option
Update FullscreenExample with 'lunar' option
2015-12-03 14:12:53 +08:00
dingwenchao 4d21d55c20 Super fast
Super fast
2015-12-03 13:57:39 +08:00
dingwenchao f5959dba04 Not important
Not important
2015-11-30 14:44:04 +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 ee4fe92099 Fix timezone problem
1. Fix time zone problem
2. Better naming
2015-11-30 11:34:27 +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 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