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 1
1
Pod ::Spec . new do |spec |
2
2
spec . name = 'RxQueryKit'
3
- spec . version = '0.1.0 '
3
+ spec . version = '0.1.1 '
4
4
spec . summary = 'RxSwift extensions for dealing with QueryKit'
5
5
spec . homepage = 'https://github.com/QueryKit/RxQueryKit'
6
6
spec . license = { :type => 'BSD' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import Foundation
8
8
extension QuerySet {
9
9
/// Performs a query for all objects matching the set predicate ordered by any set sort descriptors.
10
10
/// 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 ] > {
12
12
return context. qk_objectsDidChange ( ) . map { [ unowned self] notification in
13
13
return try self . array ( )
14
14
} . startWith ( try self . array ( ) )
15
15
}
16
16
17
17
/// Performs a query for the count of all objects matching the set predicate.
18
18
/// 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 > {
20
20
var count : Int = try self . count ( )
21
21
22
22
return AnonymousObservable { observer in
You can’t perform that action at this time.
0 commit comments