copy Folder from Resourse directory to Application directory

Discussion in 'iOS Programming' started by rupesh.swami, Sep 27, 2009.

  1. rupesh.swami macrumors newbie

    Joined:
    Mar 9, 2009
    #1
    hi all,
    i am new to iphone programming.
    I want to copy a directory (which contains sub-directory and files) from resourse folder to application directory. how can i do this task?
    Please suggest me or provide me some useful link
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Unless things are very different on the iPhone than the Mac then there is no single API call to do that. You need to find the paths to the source and destination folders, create the folders up to and including the destination folder one at a time (if required) then iterate over the files in the source folder copying them one at a time.

    I suggest you do your own research and come back with your code when you have some to get help with specific individual issues.

    Copying and pasting sample code is not programming.
     

Share This Page