From 6536b710b60e3dc2376f0362b87127ea554e076e Mon Sep 17 00:00:00 2001 From: Amro Mousa Date: Thu, 19 Dec 2013 10:40:04 -0500 Subject: [PATCH] more readme fixes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ed94f6a..2f0a8f0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ First, set an API key: [[ChimpKit sharedKit] setApiKey:apiKey]; -You can now make requests. +You can now make requests. For example, here's how to subscribe an email address: Using a block: @@ -61,12 +61,12 @@ Using a block: } }]; -Using the delegate pattern call: +Using the delegate pattern: NSDictionary *params = @{@"id": listId, @"email": @{@"email": @"foo@example.com"}, @"merge_vars": @{@"FNAME": @"Freddie", @"LName":@"von Chimpenheimer"}}; [[ChimpKit sharedKit] callApiMethod:@"lists/subscribe" withParams:params andDelegate:self]; - And implement: +And implement: - (void)ckRequestSucceeded:(ChimpKitRequest *)aRequest { NSLog(@"HTTP Status Code: %d", aRequest.response.statusCode);