diff --git a/ReactiveKit.podspec b/ReactiveKit.podspec index 4d8f809..a7fa2bb 100644 --- a/ReactiveKit.podspec +++ b/ReactiveKit.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = "ReactiveKit" - s.version = "1.1.0" + s.version = "1.1.1" s.summary = "A Swift Reactive Programming Framework" s.description = "ReactiveKit is a collection of Swift frameworks for reactive and functional reactive programming." s.homepage = "https://github.com/ReactiveKit/ReactiveKit" s.license = 'MIT' s.author = { "Srdan Rasic" => "srdan.rasic@gmail.com" } - s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v1.1.0" } + s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v1.1.1" } s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' diff --git a/ReactiveKit/Info.plist b/ReactiveKit/Info.plist index 09bc972..c6f194e 100644 --- a/ReactiveKit/Info.plist +++ b/ReactiveKit/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleVersion diff --git a/ReactiveKit/ObservableCollection/ObservableCollectionEvent.swift b/ReactiveKit/ObservableCollection/ObservableCollectionEvent.swift index 8ff5a2d..d884a30 100644 --- a/ReactiveKit/ObservableCollection/ObservableCollectionEvent.swift +++ b/ReactiveKit/ObservableCollection/ObservableCollectionEvent.swift @@ -42,6 +42,13 @@ public struct ObservableCollectionEvent: ObservableC public static func initial(collection: Collection) -> ObservableCollectionEvent { return ObservableCollectionEvent(collection: collection, inserts: [], deletes: [], updates: []) } + + public init(collection: Collection, inserts: [Collection.Index], deletes: [Collection.Index], updates: [Collection.Index]) { + self.collection = collection + self.inserts = inserts + self.deletes = deletes + self.updates = updates + } } public extension ObservableCollectionEvent {