Skip to content

Commit c5d041d

Browse files
committed
Release 0.1.1
1 parent 28b4efe commit c5d041d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RxQueryKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::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' }

RxQueryKit/RxQueryKit.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ import Foundation
88
extension 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

0 commit comments

Comments
 (0)