Swift Crear objeto Singleton de tipo estático
class FileManager {
// static property to create singleton
static let fileObj = FileManager()
...
}
// access the singleton
let data = FileManger.fileObj
SAMER SAEID