From c139804e1b7cd27549e1d58fee8c15f39f7f32b2 Mon Sep 17 00:00:00 2001 From: dangthaison91 Date: Thu, 15 Mar 2018 16:13:09 +0700 Subject: [PATCH 1/3] Made all DataSources as open class --- .../ASCollectionNode+Rx/RxASCollectionAnimatedDataSource.swift | 2 +- .../ASCollectionNode+Rx/RxASCollectionReloadDataSource.swift | 2 +- .../ASTableNode+Rx/RxASTableAnimatedDataSource.swift | 2 +- .../DataSources/ASTableNode+Rx/RxASTableReloadDataSource.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionAnimatedDataSource.swift b/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionAnimatedDataSource.swift index 69d4c38..d1ec9af 100644 --- a/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionAnimatedDataSource.swift +++ b/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionAnimatedDataSource.swift @@ -12,7 +12,7 @@ import RxSwift import RxCocoa import Differentiator -final class RxASCollectionAnimatedDataSource: ASCollectionSectionedDataSource, RxASCollectionDataSourceType { +open class RxASCollectionAnimatedDataSource: ASCollectionSectionedDataSource, RxASCollectionDataSourceType { public typealias Element = [S] public typealias AnimationType = (ASCollectionSectionedDataSource, ASCollectionNode, [Changeset]) -> AnimationTransition diff --git a/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionReloadDataSource.swift b/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionReloadDataSource.swift index 4d957af..54b21b7 100644 --- a/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionReloadDataSource.swift +++ b/Sources/DataSources/ASCollectionNode+Rx/RxASCollectionReloadDataSource.swift @@ -14,7 +14,7 @@ import AsyncDisplayKit import Differentiator #endif -final class RxASCollectionReloadDataSource: ASCollectionSectionedDataSource, RxASCollectionDataSourceType { +open class RxASCollectionReloadDataSource: ASCollectionSectionedDataSource, RxASCollectionDataSourceType { public typealias Element = [S] open func collectionNode(_ collectionNode: ASCollectionNode, observedEvent: RxSwift.Event) -> Void { diff --git a/Sources/DataSources/ASTableNode+Rx/RxASTableAnimatedDataSource.swift b/Sources/DataSources/ASTableNode+Rx/RxASTableAnimatedDataSource.swift index 3c58723..e2be031 100644 --- a/Sources/DataSources/ASTableNode+Rx/RxASTableAnimatedDataSource.swift +++ b/Sources/DataSources/ASTableNode+Rx/RxASTableAnimatedDataSource.swift @@ -12,7 +12,7 @@ import RxSwift import RxCocoa import Differentiator -final class RxASTableAnimatedDataSource: ASTableSectionedDataSource, RxASTableDataSourceType { +open class RxASTableAnimatedDataSource: ASTableSectionedDataSource, RxASTableDataSourceType { public typealias Element = [S] public typealias AnimationType = (ASTableSectionedDataSource, ASTableNode, [Changeset]) -> AnimationTransition diff --git a/Sources/DataSources/ASTableNode+Rx/RxASTableReloadDataSource.swift b/Sources/DataSources/ASTableNode+Rx/RxASTableReloadDataSource.swift index 319ecb7..365ab88 100644 --- a/Sources/DataSources/ASTableNode+Rx/RxASTableReloadDataSource.swift +++ b/Sources/DataSources/ASTableNode+Rx/RxASTableReloadDataSource.swift @@ -17,7 +17,7 @@ import AsyncDisplayKit import Differentiator #endif -final class RxASTableReloadDataSource: ASTableSectionedDataSource, RxASTableDataSourceType { +open class RxASTableReloadDataSource: ASTableSectionedDataSource, RxASTableDataSourceType { public typealias Element = [S] open func tableNode(_ tableNode: ASTableNode, observedEvent: RxSwift.Event) -> Void { From 6e149948b74cf52cd99f21cd97b14c2e9bdba1ea Mon Sep 17 00:00:00 2001 From: dangthaison91 Date: Thu, 15 Mar 2018 17:15:58 +0700 Subject: [PATCH 2/3] Trunk version 0.3.2 --- RxASDataSources.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxASDataSources.podspec b/RxASDataSources.podspec index ad66dc8..ef1f7d8 100644 --- a/RxASDataSources.podspec +++ b/RxASDataSources.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RxASDataSources' - s.version = '0.3.1' + s.version = '0.3.2' s.license = { :type => "MIT", :file => "LICENSE" } s.summary = 'RxDataSources for AsyncDisplayKit/Texture supports ASTableNode/ASCollectionNode' s.homepage = 'https://github.com/RxSwiftCommunity/RxASDataSources' From 447e1e76bf0c5425286ed858fbd625e8bc479479 Mon Sep 17 00:00:00 2001 From: dangthaison91 Date: Thu, 26 Jul 2018 18:33:41 +0700 Subject: [PATCH 3/3] Release version 0.3.3 --- Readme.md | 5 ++++- RxASDataSources.podspec | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index e469f3e..f75081d 100644 --- a/Readme.md +++ b/Readme.md @@ -8,9 +8,12 @@ [RxDataSources](https://github.com/RxSwiftCommunity/RxDataSources) for [AsyncDisplayKit/Texture](http://texturegroup.org/docs/getting-started.html): ASTableNode & ASCollectionNode. +- [RxASDataSources](#rxasdatasources) - [Features](#features) - [Requirements](#requirements) - [Installation](#installation) + - [CocoaPods](#cocoapods) + - [Carthage](#carthage) - [Usage](#usage) - [License](#license) @@ -18,7 +21,7 @@ - [x] **O(N)** Diff algorithm from [RxDataSources/Differentiator](https://github.com/RxSwiftCommunity/RxDataSources/tree/master/Sources/Differentiator) - [x] Shared RxDataSources's APIs so you must learn only once. - [x] Supports `ASTableNode` and `ASCollectionNode` -- [ ] Support `nodeBlockForRowAtIndexPath` +- [x] Support `nodeBlock` - [ ] More complex Example app diff --git a/RxASDataSources.podspec b/RxASDataSources.podspec index ef1f7d8..717c33c 100644 --- a/RxASDataSources.podspec +++ b/RxASDataSources.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RxASDataSources' - s.version = '0.3.2' + s.version = '0.3.3' s.license = { :type => "MIT", :file => "LICENSE" } s.summary = 'RxDataSources for AsyncDisplayKit/Texture supports ASTableNode/ASCollectionNode' s.homepage = 'https://github.com/RxSwiftCommunity/RxASDataSources'