Skip to content

Commit

Permalink
One-lining documents snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Sep 27, 2013
1 parent 9ee5f2c commit f14e03d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions documents.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
// Language: Objective-C
// Completion Scope: Function or Method

NSArray *documentsSearchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectoryString = [documentsSearchPaths firstObject];
NSURL *documentsDirectoryURL = [NSURL URLWithString:documentsDirectoryString];
NSURL *documentsDirectoryURL = [NSURL URLWithString:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]];

0 comments on commit f14e03d

Please sign in to comment.