Public Domain Text Files

Discussion in 'iOS Programming' started by rhboftexas, Jun 14, 2010.

  1. rhboftexas macrumors newbie

    Joined:
    Jun 3, 2010
    #1
    Which direction should I go if my app needs to utilize large text files (Bible, Homer's Iliad, etc) and I want the files as part of the app?

    I sure don't want to retype it. And I don't want to access the internet for them. Where is this amount of text placed in the app?

    THX
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Just put them into the Resources group in Xcode and then they'll be copied into your .app bundle. Then you can use NSBundle to access them.
     

Share This Page