         return nil;
     }
 
-    func updateObject(aObj: T) {
+    func updateObject(inout aObj: T) {
         
         if aObj.dirty {
             var data = aObj.encodeData()

        }
    }
    
    func deleteObject(aObj: T) {
        //self.delete(aObj.id)
        aObj.uid = nil;
    }

import Foundation


class ObjectStore<T: Coding> : DataStore {
    
    //var objectType : Class!
    
