Releases: SoySauceLab/CollectionKit
Releases · SoySauceLab/CollectionKit
XCode 10.2 & Swift 5 support
2.3.0
2.2.0
2.1.0
- fix issues caused by conflicting identifiers (#85) @Banck
- change WaterfallLayout default parameters' values to align with other layouts
- from
init(columns: Int = 1, spacing: CGFloat = 10)
- to
init(columns: Int = 2, spacing: CGFloat = 0)
- from
- include WobbleAnimator into the podspec as a subspec.
pod "CollectionKit/WobbleAnimator"
BaseSimpleAnimator
- rename
BaseSimpleAnimator
toSimpleAnimator
to align withSimpleLayout
- rename
updateAnimationDuration
toanimationDuration
- add
var animationOptions: UIViewAnimationOptions
- add
var useSpringAnimation: Bool
- add
var springDamping: CGFloat
- rename
FadeAnimator
- add
var alpha: CGFloat
- add
ScaleAnimator
- change its superclass from
BaseSimpleAnimator
toFadeAnimator
- add
var scale: CGFloat
- change its superclass from
Example project:
- move examples into its own project. and switch from Carthage to Cocoapods.
2.0.2
2.0.1
2.0.0
Focus of v2.0 will be towards API cleanliness & solves pain points with v1.0+
Main feature of v2.0:
- Complete renaming of classes
- With v1.0, naming of the classes weren't given enough thoughts. Names like
CollectionProvider
,ViewCollectionProvider
,ViewProvider
,DataProvider
, etc.. are all quite confusing to use.
- With v1.0, naming of the classes weren't given enough thoughts. Names like
- Removing confusing initializer
- Sticky Header Support
- Initial support for mixed data type
- Layout cleanup
- Internal architectural & performance improvement
Please checkout the migration guide for updating from v1~
1.3.1
1.3.0
- dequeue by Type (#39) @hiroshihorie
- Convert the Convenience Inits to designated Inits to use them for subclassing. (#47) @Narsail
- Add in CollectionViewCollectionProvider. (#53) @jindulys
- Add super designated initializer call to SpaceCollectionProvider. (#52) @jindulys
- Scroll performance improvement
- identifiers will now be cached and won't be used to calculate differences if there are no visible index change.
CollectionView.activeFrameInset
is removed.VisibleFrameInsetLayout
is added to replaceactiveFrameInset
.- To achieve the same effect as
activeFrameInset
, use:
SomeLayout().insetVisibleFrame(by: activeFrameInset)
- To achieve the same effect as
CollectionComposer
reload performance is improved, especially for deeply nested sections. Previously each composer have to created an array of length of all items contained inside the composer during reload. and now it doesn't.