Skip to content

Commit

Permalink
1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tilltue committed Dec 9, 2018
1 parent 241d060 commit 4071ccb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BaseExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'BaseExtension'
s.version = '1.2.7'
s.version = '1.2.8'
s.summary = 'base extension'

# This description is used to generate tags and improve search results.
Expand Down
7 changes: 7 additions & 0 deletions BaseExtension/Classes/RxTableViewBindProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ extension RxTableViewBindProtocol {
bindEvent(tableView: tableView)
}

public func createDataSource(tableView: UITableView) -> RxTableViewCustomReloadDataSource<SectionModelType> {
let dataSource = RxTableViewCustomReloadDataSource<SectionModelType>(configureCell: { ds, tv, ip, cellViewModel -> UITableViewCell in
return UITableViewCell()
})
return dataSource
}

public func createAnimatedDataSource(tableView: UITableView) -> RxTableViewCustomAnimatedDataSource<SectionModelType> {
let dataSource = RxTableViewCustomAnimatedDataSource<SectionModelType>(configureCell: { ds, tv, ip, cellViewModel -> UITableViewCell in
return UITableViewCell()
Expand Down

0 comments on commit 4071ccb

Please sign in to comment.