Permalink
Browse files

README updated

  • Loading branch information...
1 parent 0fd084a commit c2faff8bf2c44fadd202a64c6ce4fb9ee6917474 @sipefree committed Nov 13, 2011
Showing with 16 additions and 13 deletions.
  1. +16 −13 README.md
View
@@ -30,19 +30,6 @@ Copy the .a and the header files to your own project.
## API Examples
-All methods in the API return an RKRequest (subclass of RKEventEmitter) object.
-
-You can use that to hook lower-level events:
-
-```objc
-RKRequest* req = [myDB get:@"bob" :^(id err, id json) {
- NSLog(@"whatever");
-}];
-[req on:@"response" :^(id response) {
- // do something with the NSHTTPURLResponse
-}];
-```
-
### Create a connection
```objc
@@ -125,6 +112,22 @@ NSDictionary* bobDoc = [NSDictionary dictionaryWithObjectsAndKeys:
}];
```
+### Misc
+
+All methods in the API return an RKRequest (subclass of RKEventEmitter) object.
+
+You can use that to hook lower-level events:
+
+```objc
+RKRequest* req = [myDB get:@"bob" :^(id err, id json) {
+ NSLog(@"whatever");
+}];
+[req on:@"response" :^(id response) {
+ // do something with the NSHTTPURLResponse
+}];
+```
+
+
## What's not working?
### Probably a lot of things!

0 comments on commit c2faff8

Please sign in to comment.