Updated ReactiveCocoa dependency

This commit is contained in:
Pedro Piñera Buendía 2016-02-07 19:43:31 +01:00
parent 4bf64e7655
commit b58b4488e4
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ Pod::Spec.new do |s|
end
rac_dependencies = lambda do |spec|
spec.dependency "ReactiveCocoa", "4.0.0-RC.2"
spec.dependency "ReactiveCocoa", "4.0.1"
end
realm_dependencies = lambda do |spec|

View File

@ -14,7 +14,7 @@ public extension ReactiveStorage where Self: Storage {
- returns: SignalProducer that executes the action.
*/
func rac_operation(op: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, Result.NoError> {
func rac_operation(op: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, NoError> {
return SignalProducer { (observer, disposable) in
self.operation { (context, saver) in
op(context: context, save: saver)
@ -30,7 +30,7 @@ public extension ReactiveStorage where Self: Storage {
- returns: SignalProducer that executes the action.
*/
func rac_backgroundOperation(op: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, Result.NoError> {
func rac_backgroundOperation(op: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, NoError> {
return SignalProducer { (observer, disposable) in
let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT
dispatch_async(dispatch_get_global_queue(priority, 0)) {