Skip to content

Commit d02db4c

Browse files
committed
Make ObservableCollectionEvent constructor public
1 parent 400d8f8 commit d02db4c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ReactiveKit.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = "ReactiveKit"
3-
s.version = "1.1.0"
3+
s.version = "1.1.1"
44
s.summary = "A Swift Reactive Programming Framework"
55
s.description = "ReactiveKit is a collection of Swift frameworks for reactive and functional reactive programming."
66
s.homepage = "https://github.com/ReactiveKit/ReactiveKit"
77
s.license = 'MIT'
88
s.author = { "Srdan Rasic" => "[email protected]" }
9-
s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v1.1.0" }
9+
s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v1.1.1" }
1010

1111
s.ios.deployment_target = '8.0'
1212
s.osx.deployment_target = '10.9'

ReactiveKit/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.0</string>
18+
<string>1.1.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

ReactiveKit/ObservableCollection/ObservableCollectionEvent.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public struct ObservableCollectionEvent<Collection: CollectionType>: ObservableC
4242
public static func initial(collection: Collection) -> ObservableCollectionEvent<Collection> {
4343
return ObservableCollectionEvent(collection: collection, inserts: [], deletes: [], updates: [])
4444
}
45+
46+
public init(collection: Collection, inserts: [Collection.Index], deletes: [Collection.Index], updates: [Collection.Index]) {
47+
self.collection = collection
48+
self.inserts = inserts
49+
self.deletes = deletes
50+
self.updates = updates
51+
}
4552
}
4653

4754
public extension ObservableCollectionEvent {

0 commit comments

Comments
 (0)