Swift erstellen statisches Singleton -Objekt
class FileManager {
// static property to create singleton
static let fileObj = FileManager()
...
}
// access the singleton
let data = FileManger.fileObj
SAMER SAEID