Свифт Синглтон
class FileManager {
...
// create a private initializer
private init() {
}
}
// Error Code
let obj = FileManager()
SAMER SAEID
class FileManager {
...
// create a private initializer
private init() {
}
}
// Error Code
let obj = FileManager()