Skip to content

Commit 3884f85

Browse files
committed
section convenience
1 parent bf0af35 commit 3884f85

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Presentables.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

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

1414
# This description is used to generate tags and improve search results.

Presentables/Classes/Libs/PresentableSection.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ public class PresentableSection: PresentableSectionMarker, Collection {
114114
_presentables.append(contentsOf: presentables)
115115
}
116116

117+
public func set(_ presentables: [PresentableType]) {
118+
_presentables = presentables
119+
}
120+
117121
public func removeAll() {
118122
_presentables.removeAll()
119123
}

0 commit comments

Comments
 (0)