Skip to content

Commit

Permalink
section convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 committed Apr 27, 2018
1 parent bf0af35 commit 3884f85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Presentables.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Presentables'
s.version = '0.6.5'
s.version = '0.6.6'
s.summary = 'Simple reactive library for managing table views & collection views, written in Swift'

# This description is used to generate tags and improve search results.
Expand Down
4 changes: 4 additions & 0 deletions Presentables/Classes/Libs/PresentableSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public class PresentableSection: PresentableSectionMarker, Collection {
_presentables.append(contentsOf: presentables)
}

public func set(_ presentables: [PresentableType]) {
_presentables = presentables
}

public func removeAll() {
_presentables.removeAll()
}
Expand Down

0 comments on commit 3884f85

Please sign in to comment.