You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`OHHTTPStubs` is a library designed to stub your network requests very easily. It can help you:
@@ -18,8 +18,8 @@ It works with `NSURLConnection`, new iOS7/OSX.9's `NSURLSession`, `AFNetworking`
18
18
19
19
# Documentation & Usage Examples
20
20
21
-
`OHHTTPStubs` headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also [read the **online documentation** here](http://cocoadocs.org/docsets/OHHTTPStubs/):
`OHHTTPStubs` headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also [read the **online documentation** here](http://cocoadocs.org/docsets/OHHTTPStubs)
> Unfortunately macro documentation does not appear in the documentation generated by appledoc, so don't hesitate to take a look into `OHHTTPStubsResponse.h`, `OHHTTPStubsResponse+JSON.h` and `OHHTTPStubsResponse+HTTPMessage.h` too.
25
25
@@ -42,6 +42,12 @@ For a lot more examples, see the dedicated "[Usage Examples](https://github.com/
42
42
43
43
The wiki also contain [some articles that can help you get started](https://github.com/AliSoftware/OHHTTPStubs/wiki) with (and troubleshoot if needed) `OHHTTPStubs`.
44
44
45
+
# Compatibility
46
+
47
+
`OHHTTPStubs` is compatible with **iOS 5.0+** and **OSX 10.7+**.
48
+
49
+
`OHHTTPStubs` also works with iOS7's and OSX 10.9's `NSURLSession` mechanism.
50
+
45
51
# Special Considerations
46
52
47
53
## Using OHHTTPStubs in your Unit Tests
@@ -52,9 +58,7 @@ The wiki also contain [some articles that can help you get started](https://gith
52
58
* be sure to wait until the request has received its response before doing your assertions and letting the test case to finish (like for any asynchronous test). [see this wiki page for more info](https://github.com/AliSoftware/OHHTTPStubs/wiki/OHHTTPStubs-and-asynchronous-tests)
53
59
54
60
55
-
## OHHTTPStubs and NSURLSession
56
-
57
-
`OHHTTPSutbs` also works with iOS7's and OSX 10.9's `NSURLSession` mechanism.
61
+
## Automatic loading
58
62
59
63
In general, `OHHTTPStubs` is automatically enabled by default, both for:
0 commit comments