Permalink
Browse files

Correct example to use NSURL.

  • Loading branch information...
mikeabdullah committed Sep 14, 2011
1 parent ff792e8 commit 432e7f95f3f361762a2701770c4584e0a816e584
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -15,7 +15,7 @@ WebDAV requests are sent using the `DAVSession` class. Initialize `DAVSession` w
NSString *root = @"http://idisk.me.com/steve"; // don't include the trailing / (slash)
- DAVSession *session = [[DAVSession alloc] initWithRootURL:root
+ DAVSession *session = [[DAVSession alloc] initWithRootURL:[NSURL URLWithString:root]
credentials:credentials];

0 comments on commit 432e7f9

Please sign in to comment.