Merge pull request #25 from alwaysthecritic/develop

Fix typos
This commit is contained in:
Krunoslav Zaher 2015-05-28 10:30:17 +02:00
commit e476609831
5 changed files with 6 additions and 6 deletions

View File

@ -134,7 +134,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.95686274509803926" alpha="1" colorSpace="calibratedRGB"/>
<sections>
<tableViewSection headerTitle="Examples" footerTitle="Showcase examples for Rx. You can easily test for proper resource cleanup during poping of the navigation stack" id="QC3-bK-dI7">
<tableViewSection headerTitle="Examples" footerTitle="Showcase examples for Rx. You can easily test for proper resource cleanup during popping of the navigation stack" id="QC3-bK-dI7">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" textLabel="LN4-l3-ara" detailTextLabel="BaB-5r-hmY" style="IBUITableViewCellStyleSubtitle" id="Hab-23-dUs">
<autoresizingMask key="autoresizingMask"/>

View File

@ -19,7 +19,7 @@ import Foundation
* >> error: unimplemented IR generation feature non-fixed multi-payload enum layout
*/
public enum Event<Element> : Printable {
// Box is used is because swift compiler doesn't know
// Box is used because swift compiler doesn't know
// how to handle `Next(Element)` and it crashes.
case Next(RxBox<Element>) // next element of a sequence
case Error(ErrorType) // sequence failed with error

View File

@ -14,7 +14,7 @@ import Foundation
// or return result to main thread.
//
// `observeSingleOn` is optimized for that specific purpose. It assumes that sequence will have one element
// and in cases it has more then one element it will throw an exception.
// and in cases it has more than one element it will throw an exception.
//
// This is a huge performance win considering most general case.
//

View File

@ -154,7 +154,7 @@ public let SuccessResult = success(())
// lift functions
// "Lifts" functions that take normal arguments to functions that take `Result` monad arguments.
// Unfortunatelly these are not generic `Monad` lift functions because
// Unfortunately these are not generic `Monad` lift functions because
// Creating generic lift functions that work for arbitrary monads is a lot more tricky.
func lift<T1, TRet>(function: (T1) -> TRet) -> (RxResult<T1>) -> RxResult<TRet> {

View File

@ -31,10 +31,10 @@ public protocol Scheduler: ImmediateScheduler {
//
// It's probably best to make sure all of the errors have been handled before
// the computation finishes, but it's not unreasonable to change the implementation
// for release builds to silently fail (although I would not recommended).
// for release builds to silently fail (although I would not recommend it).
//
// Changing default behavior is not recommended because possible data corruption
// is "usually" a lot worse then letting program to crash.
// is "usually" a lot worse than letting the program crash.
//
func ensureScheduledSuccessfully(result: RxResult<Void>) -> RxResult<Void> {
switch result {