lundi 29 juin 2015

Reading files stored in an Xcode project

this is a little hard to explain, I want to be able to read from some files which I have on my computer in an iOS app. I am storing the files in the same directory as my 'ViewController.swift' file.

enter image description here

My question is, if I want to read from the file "testData.csv", how should I go about referencing it in my app?

Aucun commentaire:

Enregistrer un commentaire