iphone - What is the difference between copyItemAtPath:toPath:error and copyItemAtURL:toURL:error: of NSFileManager? -


i want copy file @ path path b, in case exists @ b want overwritten , want use 1 of mentioned methods 1 one should use? saw documentation , pretty same.

i can make nsurl objects strings both same?

cocoa attempting standardize on urls. consistent use of urls can in cases improve performance, because nsurl object can cache information filesystem , avoid redundant io in case information requested again.

however, in context of 1 method itself, doesn't make difference.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -