示例#1
0
        public override id init()
        {
            NSString documentsDirectory = Foundation.NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.NSDocumentDirectory, NSSearchPathDomainMask.NSUserDomainMask, true).firstObject();

            _dataFileName = documentsDirectory.stringByAppendingPathComponent("tasks.plist");

            this.load();
        }