I am new to ios development and I am trying to create an application in swift that displays all the files in a directory (all files will be PDFs) and the user can open them.
I have googling this for the last two days and am very confused. Can someone suggest a tutorial or steps that I would need for this to work.
I started with this in my ViewController.swift file:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
class func defaultManager()->NSFileManager{
}
}
I just don’t know what to do next, it’s very sad, I know. I would appreciate any help or help.
Thanks J
source
share