What is the benefit of using:
let employee = arrayController.newObject() as! Employee
arrayController.addObject(employee)
instead of
let employee = Employee()
arrayController.addObject(employee)
What is the benefit of using:
let employee = arrayController.newObject() as! Employee
arrayController.addObject(employee)
instead of
let employee = Employee()
arrayController.addObject(employee)