mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-09-11 14:36:41 +03:00
Updated ReactiveCocoa dependency
This commit is contained in:
parent
4bf64e7655
commit
b58b4488e4
@ -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|
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user