File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |spec |
22 spec . name = 'RxQueryKit'
3- spec . version = '0.1.0 '
3+ spec . version = '0.1.1 '
44 spec . summary = 'RxSwift extensions for dealing with QueryKit'
55 spec . homepage = 'https://github.com/QueryKit/RxQueryKit'
66 spec . license = { :type => 'BSD' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import Foundation
88extension QuerySet {
99 /// Performs a query for all objects matching the set predicate ordered by any set sort descriptors.
1010 /// Emits a value with an array of all objects when the managed object context is changed.
11- func objects( ) throws -> Observable < [ ModelType ] > {
11+ public func objects( ) throws -> Observable < [ ModelType ] > {
1212 return context. qk_objectsDidChange ( ) . map { [ unowned self] notification in
1313 return try self . array ( )
1414 } . startWith ( try self . array ( ) )
1515 }
1616
1717 /// Performs a query for the count of all objects matching the set predicate.
1818 /// Emits an Int containing the amount of objects matching the predicate and updates when the managed object context is changed.
19- func count( ) throws -> Observable < Int > {
19+ public func count( ) throws -> Observable < Int > {
2020 var count : Int = try self . count ( )
2121
2222 return AnonymousObservable { observer in
You can’t perform that action at this time.
0 commit comments