Ejemplo n.º 1
0
        public void save()
        {
            NSData data = NSKeyedArchiver.archivedDataWithRootObject(this.tasks);

            data.writeToFile(_dataFileName) atomically(true);
            NSLog("Data has been saved to local file (%@)", _dataFileName);
        }