Last active
March 5, 2017 13:34
-
-
Save Lewuathe/5162049 to your computer and use it in GitHub Desktop.
Difference between NSURL and NSString ref: http://qiita.com/Lewuathe/items/54d21a4f2f470db4431f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSURL *url = [NSURL URLWithString:[NSHomeDirectory() stringByAppendingString:@"/Documents/test.txt"]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [movieFileOutput startRecordingToOutputFileURL:url recordingDelegate:self]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /var/mobile/Applications/hogehoge/Documents/test.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSURL *url = [NSURL fileURLWithPath:[NSHomeDirectory() stringByAppendingString:@"/Documents/test.txt"]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file://localhost/var/mobile/Applications/hogehoge/Documents/test.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment