Skip to content

Commit

Permalink
Merge pull request Xcode-Snippets#43 from Kronusdark/master
Browse files Browse the repository at this point in the history
Update snippet to use fileURL instead of URL
  • Loading branch information
mattt committed Jul 4, 2014
2 parents 3724210 + 7f9bb97 commit 00bcab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documents.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Language: Objective-C
// Completion Scope: Function or Method

NSURL *documentsDirectoryURL = [NSURL URLWithString:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]];
NSURL *documentsDirectoryURL = [NSURL fileURLWithPath:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]];

0 comments on commit 00bcab7

Please sign in to comment.