Permalink
Browse files

more readme updates

  • Loading branch information...
zagraves committed Aug 1, 2009
1 parent 288e3f3 commit b5e379b7278434ede0162e0f01a29286c25f6d09
Showing with 7 additions and 9 deletions.
  1. +7 −9 README.markdown
View
@@ -126,8 +126,7 @@ To work with the response data object, parse the response text
YOSUserRequest *request = [YOSUserRequest requestWithSession:session];
// fetch the user's profile data
- YOSResponseData *userProfileResponse = [request
- fetchProfileWithDelegate:self];
+ YOSResponseData *userProfileResponse = [request fetchProfileWithDelegate:self];
}
- (void)requestDidFinishLoading:(YOSResponseData *)data {
@@ -158,11 +157,11 @@ to their activity stream.
Status:
- // get the logged-in user
- YOSUserRequest *request = [YOSUserRequest requestWithSession:session];
+ // get the logged-in user
+ YOSUserRequest *request = [YOSUserRequest requestWithSession:session];
- // set the user's current status message
- [request setStatus:@"is hacking"];
+ // set the user's current status message
+ [request setStatus:@"is hacking"];
Updates:
@@ -180,11 +179,10 @@ Updates:
YQLQueryRequest *request = [YQLQueryRequest
requestWithSession:self.session];
- NSString *structuredProfileLocationQuery = [NSString
+ NSString *structuredLocationQuery = [NSString
stringWithFormat:@"select * from geo.places where text=\"sfo\""];
- [request query:structuredProfileLocationQuery
- withDelegate:self];
+ [request query:structuredLocationQuery withDelegate:self];
}
- (void)requestDidFinishLoading:(YOSResponseData *)data {

0 comments on commit b5e379b

Please sign in to comment.