Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct example to use NSURL.

  • Loading branch information...
commit 432e7f95f3f361762a2701770c4584e0a816e584 1 parent ff792e8
@mikeabdullah mikeabdullah authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.markdown
View
2  README.markdown
@@ -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];
Please sign in to comment.
Something went wrong with that request. Please try again.