Skip to content
RxDataSource for AsyncDisplayKit/Texture
Branch: master
Clone or download
dangthaison91 Trunk version 0.3.3 (#24)
* Made all DataSources as open class

* Trunk version 0.3.2

* Release version 0.3.3
Latest commit 8f9e895 Aug 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Carthage/Checkouts update PINCache (#17) Apr 24, 2018
Example
RxASDataSources.playground Replace RxDataSources by RxDataSources/Differentiator Sep 9, 2017
RxASDataSources.xcodeproj
RxASDataSources.xcworkspace Adapted RxSwift 4.0 & RxDataSources 3.0 (#5) Jan 10, 2018
Sources accept `nodeBlock*` delegates for ASCollectionNode (#23) Jul 26, 2018
Tests
scripts Update dependencies Jul 26, 2017
.gitignore Adapted RxSwift 4.0 & RxDataSources 3.0 (#5) Jan 10, 2018
.gitmodules Adapted RxSwift 4.0 & RxDataSources 3.0 (#5) Jan 10, 2018
.swift-version Update Swift 4.0 Jan 10, 2018
Cartfile
Cartfile.resolved
LICENSE
Podfile
Podfile.lock
Readme.md Trunk version 0.3.3 (#24) Aug 2, 2018
RxASDataSources.podspec

Readme.md

RxASDataSources

Platforms License Carthage compatible CocoaPods compatible Travis

RxDataSources for AsyncDisplayKit/Texture: ASTableNode & ASCollectionNode.

Features

  • O(N) Diff algorithm from RxDataSources/Differentiator
  • Shared RxDataSources's APIs so you must learn only once.
  • Supports ASTableNode and ASCollectionNode
  • Support nodeBlock
  • More complex Example app

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • RxSwift 4.0 & Texture 2.5

Installation

CocoaPods

To integrate RxASDataSources into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'RxASDataSources'

Then, run the following command:

$ pod install

Carthage

To integrate RxASDataSources into your Xcode project using Carthage, specify it in your Cartfile:

github "RxSwiftCommunity/RxASDataSources"

Usage

Working with RxASDataSources will be very simple if you are familiar with RxDataSources:

typealias Section = SectionModel<String, Int>

let configureCell: ASTableSectionedDataSource<Section>.ConfigureCell = { (dataSource, tableNode, index, model) in
     let cell = ASTextCellNode()
     cell.text = model.info
     return cell
 }

 let animation = RowAnimation(insertAnimation: .automatic, reloadAnimation: .fade, deleteAnimation: .automatic)
 let dataSource = RxASTableSectionedReloadDataSource<Section>(animationConfiguration: animation, configureCell: configureCell)

 items
    .bind(to: tableNode.rx.items(dataSource: dataSource))
    .disposed(by: disposeBag)

For more advance usages, please follow RxDataSources and Example then simply replace your Views -> Nodes.

License

RxASDataSources is released under the MIT license. See LICENSE for details.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.