Skip to content

Commit 7920f19

Browse files
committed
1.0.0
1 parent 63d5164 commit 7920f19

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

README.md

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ vendingMachine.purchase
7373
switch result {
7474
case let .success(snacks):
7575
print("Snack: \(snacks)")
76-
76+
7777
case let .failure(error):
7878
// Out of stock? Insufficient fund?
7979
print("Transaction aborted: \(error)")
@@ -84,16 +84,16 @@ vendingMachine.purchase
8484
class VendingMachine {
8585
let purchase: Action<(), [Snack], VendingMachineError>
8686
let coins: MutableProperty<Int>
87-
87+
8888
// The vending machine is connected with a sales recorder.
8989
init(_ salesRecorder: SalesRecorder) {
9090
coins = MutableProperty(0)
91-
purchase = Action(state: coins, enabledIf: { $0 > 0 }) { coins, snackId in
91+
purchase = Action(state: coins, enabledIf: { $0 > 0 }) { coins, snackId in
9292
return SignalProducer { observer, _ in
9393
// The sales magic happens here.
9494
}
9595
}
96-
96+
9797
// The sales recorders are notified for any successful sales.
9898
purchase.values.observeValues(salesRecorder.record)
9999
}
@@ -163,7 +163,7 @@ one. Just think of how much code that would take to do by hand!
163163

164164
#### Receiving the results
165165

166-
Since the source of search strings is a `Signal` which has a hot signal semantic,
166+
Since the source of search strings is a `Signal` which has a hot signal semantic,
167167
the transformations we applied are automatically evaluated whenever new values are
168168
emitted from `searchStrings`.
169169

@@ -174,10 +174,10 @@ searchResults.observe { event in
174174
switch event {
175175
case let .value(results):
176176
print("Search results: \(results)")
177-
177+
178178
case let .failed(error):
179179
print("Search error: \(error)")
180-
180+
181181
case .completed, .interrupted:
182182
break
183183
}
@@ -285,7 +285,7 @@ While ReactiveCocoa was inspired and heavily influenced by [ReactiveX][] (Rx), R
285285
an opinionated implementation of [functional reactive programming][], and _intentionally_ not a
286286
direct port like [RxSwift][].
287287

288-
ReactiveSwift differs from ReactiveX in places that:
288+
ReactiveSwift differs from ReactiveX in places that:
289289

290290
* Results in a simpler API
291291
* Addresses common sources of confusion
@@ -369,7 +369,7 @@ If you use [Carthage][] to manage your dependencies, simply add
369369
ReactiveSwift to your `Cartfile`:
370370

371371
```
372-
github "ReactiveCocoa/ReactiveSwift" "1.0.0-rc.3"
372+
github "ReactiveCocoa/ReactiveSwift" ~> 1.0
373373
```
374374

375375
If you use Carthage to build your dependencies, make sure you have added `ReactiveSwift.framework`, and `Result.framework` to the "_Linked Frameworks and Libraries_" section of your target, and have included them in your Carthage framework copying build phase.
@@ -380,7 +380,7 @@ If you use [CocoaPods][] to manage your dependencies, simply add
380380
ReactiveSwift to your `Podfile`:
381381

382382
```
383-
pod 'ReactiveSwift', '1.0.0-rc.3'
383+
pod 'ReactiveSwift', '1.0.0'
384384
```
385385

386386
#### Swift Package Manager
@@ -389,7 +389,7 @@ If you use Swift Package Manager, simply add ReactiveSwift as a dependency
389389
of your package in `Package.swift`:
390390

391391
```
392-
.Package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", "1.0.0-rc.3")
392+
.Package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", majorVersion: 1)
393393
```
394394

395395
#### Git submodule
@@ -419,20 +419,13 @@ We also provide a great Playground, so you can get used to ReactiveCocoa's opera
419419
1. Build `ReactiveSwift-macOS` scheme
420420
1. Finally open the `ReactiveSwift.playground`
421421
1. Choose `View > Show Debug Area`
422-
422+
423423
## Have a question?
424424
If you need any help, please visit our [GitHub issues][] or [Stack Overflow][]. Feel free to file an issue if you do not manage to find any solution from the archives.
425425

426426
## Release Roadmap
427427
**Current Stable Release:**<br />[![GitHub release](https://img.shields.io/github/release/ReactiveCocoa/ReactiveSwift.svg)](https://github.com/ReactiveCocoa/ReactiveSwift/releases)
428428

429-
### Code Complete: ReactiveSwift 1.0
430-
It targets Swift 3.0.x. The tentative schedule of a Gold Master release is January 2017.
431-
432-
[Release Candidiate 3](https://github.com/ReactiveCocoa/ReactiveSwift/releases/tag/1.0.0-rc.3) has been released.
433-
434-
A point release is expected with performance optimizations.
435-
436429
### Plan of Record
437430
#### ReactiveSwift 2.0
438431
It targets Swift 3.1.x. The estimated schedule is Spring 2017.

ReactiveSwift.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Pod::Spec.new do |s|
22
s.name = "ReactiveSwift"
33
# Version goes here and will be used to access the git tag later on, once we have a first release.
4-
s.version = "1.0.0-rc.3"
4+
s.version = "1.0.0"
55
s.summary = "Streams of values over time"
66
s.description = <<-DESC
77
ReactiveSwift is a Swift framework inspired by Functional Reactive Programming. It provides APIs for composing and transforming streams of values over time.
88
DESC
99
s.homepage = "https://github.com/ReactiveCocoa/ReactiveSwift"
1010
s.license = { :type => "MIT", :file => "LICENSE.md" }
1111
s.author = "ReactiveCocoa"
12-
12+
1313
s.ios.deployment_target = "8.0"
1414
s.osx.deployment_target = "10.9"
1515
s.watchos.deployment_target = "2.0"

0 commit comments

Comments
 (0)