Skip to content

Commit

Permalink
Merge branch 'release/0.1-beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
Deyton Sehn committed Jun 2, 2014
2 parents 1879546 + ff2e03e commit 38f56de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ If the user has a DocuSign account, you can present a `DSLoginViewController` an
First, present the `DSLoginViewController`:
```objective-c
DSLoginViewController *loginViewController = [[DSLoginViewController alloc] initWithIntegratorKey:@"<#IntegratorKey#>"
forEnvironment:DSTableViewControllerEnvironment
forEnvironment:DSRestAPIEnvironmentDemo
email:@"<#email#>" //This will pre-populate the UI
delegate:self];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:loginViewController];
[self presentViewController:navController animated:YES completion:nil];
```
Then implement the delegate methods:
Then implement the `DSLoginViewControllerDelegate` methods:
```objective-c
- (void)loginViewController:(DSLoginViewController *)controller didLoginWithSessionManager:(DSSessionManager *)sessionManager {
Expand Down

0 comments on commit 38f56de

Please sign in to comment.