From: Avram L. <aj...@gm...> - 2008-02-29 18:50:44
|
On Fri, Feb 29, 2008 at 9:40 PM, Pierce T. Wetter III <pi...@tw...> wrote: > The code: > > @storeMetaDeta > =NSPersistentStore.metadataForPersistentStoreWithURL_error(url,error) Looking at the class documentation (http://developer.apple.com/documentation/Cocoa/Reference/NSPersistentStore_Class/Reference/NSPersistentStore.html#//apple_ref/occ/clm/NSPersistentStore/metadataForPersistentStoreWithURL:error:), NSPersistentStore.metadataForPersistentStoreWithURL_error is supposed to be a class method. Could RubyCocoa be mangling the mapping? Try initializing a store instance with initWithPersistentStoreCoordinator:configurationName:URL:options: and then use metadataForPersistentStoreWithURL_error on the instance. I realize that defeats the purpose of getting metadata with a class and not instance method, but it might help understand what's going on. Avram |