Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #49 from redbooth/feature/updateTo0.3.0
Browse files Browse the repository at this point in the history
Update RRC version to 0.3.0
  • Loading branch information
polqf committed Dec 11, 2015
2 parents 2341b1e + 39b795a commit 924e865
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
@@ -1,6 +1,5 @@
![](https://img.shields.io/badge/coverage-100%25-green.svg)
![](https://img.shields.io/badge/language-swift-blue.svg)
![](https://img.shields.io/badge/version-0.2.5-red.svg)
![](https://img.shields.io/badge/version-0.3.0-red.svg)

![](Images/RRCHigh.png)

Expand Down Expand Up @@ -37,6 +36,8 @@ The `RealmResultsController<T, U>` needs 4 parameters:

Where `T` is a `Realm` model and `U` is the type of the object you want to receive from the RRC. Since the RRC works in background, we can't work with normal Realm objects, so we either create mirror copies of the objects not associated to any Realm, or we map the Objects to another kind of "entity" of type `U`

Operations on each RRC are enqueued to avoid unordered calls to `willChangeResults` and `didChangeResults`. Each RRC has its own queue.

__Note:__ `T` and `U` can be of the same type, then the RRC will return a copy of the `T` objects but not included in any Realm.

__:heavy_exclamation_mark: what is the `filter` for?__
Expand Down Expand Up @@ -257,15 +258,15 @@ To use the demo, just run the following command to install the Realm dependencie
#### Carthage:

```
github "redbooth/RealmResultsController" "0.2.5"
github "redbooth/RealmResultsController" "0.3.0"
```

#### CocoaPods:

```
use_frameworks!
pod 'RealmResultsController', '~> 0.2.5'
pod 'RealmResultsController', '~> 0.3.0'
```

#### Manual:
Expand Down
4 changes: 2 additions & 2 deletions RealmResultsController.podspec
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "RealmResultsController"
s.version = "0.2.5"
s.version = "0.3.0"
s.summary = "A NSFetchedResultsController implementation for Realm written in Swift"
s.homepage = "https://github.com/redbooth/RealmResultsController"
s.license = 'MIT'
s.author = "Redbooth"
s.source = { :git => "https://github.com/redbooth/RealmResultsController.git", :tag => "0.2.5" }
s.source = { :git => "https://github.com/redbooth/RealmResultsController.git", :tag => "0.3.0" }
s.platform = :ios, '8.0'
s.source_files = 'Source'
s.frameworks = 'UIKit'
Expand Down

0 comments on commit 924e865

Please sign in to comment.