Commit Graph

26 Commits

Author SHA1 Message Date
Max Howell
91f002f6f6
mxcl.github.io|promisekit.org -> mxcl.dev
* Fixes broken links
* Corrects spelling

[skip ci]
2019-03-01 00:02:04 -05:00
Max Howell
40ffd806f4 Update documentation links
[skip ci]
2019-02-12 17:46:50 -05:00
Max Howell
69b112b28e
Deprecate promisekit.org
[ci skip]
2019-02-11 19:44:11 -05:00
Max Howell
716f9c2d24 Update documentation links
[skip ci]

Fixes #1008
2019-02-05 15:41:58 -05:00
Allen Ding
035ccea865
Fix typo in GettingStarted.md 2018-10-17 14:12:33 +08:00
Max Howell
c5deb32c1b
Add Agnosti.tech link 2018-10-08 11:54:20 -04:00
Max Howell
cdfeef252b
Document creating Guarantees 2018-10-04 13:34:20 -04:00
Garth Snyder
2b88cac8e0 Doc headings to title case, no Oxford commas 2018-06-27 10:50:56 -07:00
Garth Snyder
fecf4f8430 Documentation copy editing, add more RxSwift info, fix asVoid() example 2018-06-17 15:37:09 -07:00
Max Howell
b4131f9d11
Refer to the API Reference 2018-05-03 23:28:21 -05:00
Bryan Summersett
f0056bdb1e
Update documentation referencing flatMap
Updating references to `flatMap` to `compactMap` universally throughout the documentation.
2018-04-09 13:24:25 -04:00
Max Howell
0ea38acd5a [ci skip] Reference Alamofire extension more times 2018-02-28 13:23:57 -05:00
Max Howell
c538a244b1
Merge pull request #800 from timbms/master
Just a typo correction
2018-02-27 16:07:13 -05:00
timbms
e11b950cc5 Typo 2018-02-27 21:55:14 +01:00
Lois Di Qual
cd996e7542 Move 'finally' section as part of the 'ensure' one 2018-02-25 19:55:53 -08:00
Lois Di Qual
2f6eb6ebc1 Document 'finally' 2018-02-24 19:41:08 -08:00
Nathan Hosselton
a99d082dbc
Update GettingStarted.md
Fix DispatchGroup example under #when
2018-02-23 19:19:40 -05:00
Max Howell
ca845042f7 [ci skip] flatMap -> compactMap 2018-02-19 23:37:26 -05:00
Nathan Hosselton
83516e1e12
Update GettingStarted.md
Typos, formatting, etc
2018-02-13 21:18:33 -05:00
Max Howell
673ce2d4f9 [ci skip] Docs++ WIP 2018-02-13 16:44:01 -05:00
Max Howell
17587be4ac PromiseKit 6.0.0
This because `Promise(value:)` is selected for PMK-4’s pending initializer due to trailing closure syntax and the fact that `T` could be anything. I guess this isn’t a Swift bug, but geez.

This is a real problem for people migrating to 5 from 4, such that I have decided 5 must be deprecated.

The severity is due to Swift giving a very misleading error diagnostic when it uses `Promise(value:)`, because as you can guess you end up with:

    Promise<(T->Void, Error->Void)>

As your inferred type.

Because we no longer have ambiguity between `Promise { seal in` and `Promise(value:` I have removed the `.pending` parameter for that usage which will also aid migration.

In some cases this leads to less nice code, but mostly it’s fine due to being able to do `.value(1)` where `Promise` can be inferred. The trade off is worth it though as PromiseKit should be delightful to use and as it stands, it is a pain due to how Swift is.
2018-02-10 17:23:27 -05:00
Julien Quéré
d85f621cf3 Fix potential error in sample code 2017-10-10 09:13:18 +02:00
Paul Thorsteinson
a0de048cea Fix GettingStarted.md typos
Fixed a spelling mistake and a few other examples that seemed like they had been typed wrong.
2017-08-08 18:24:43 -06:00
Max Howell
27973b94df Missing optional annotation in getting-started
Fix typo.

Clarify making promises.

Link troubleshooting guide.
2017-07-06 16:14:38 -04:00
Max Howell
239a3ddd66 Not ensure; always 2017-06-28 16:44:22 -04:00
Max Howell
212f31f418 Move documentation to master 2017-06-26 15:40:13 -04:00