views:

27

answers:

1

Hello,

Please tell me how to

  1. Get the current working directory's absolute path

  2. If this is the absolute path /Users/iphone/Documents/Archive

    how to convert this path to relative path?

  3. How to check if directory exists at patricular path programmatically in Objective-C and if it doesn't exist how to create it programmatically? i need to do this using relative path.

Thank You.

A: 

Start by understanding Introduction to Low-Level File Management Programming Topics

1) NSFileManager currentDirectoryPath

3) NSFileManager fileExistsAtPath:isDirectory:

Mark