Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ... loading XML store type into in-memory store...



Hi,

I want to load some external data from a server source and load it to a local store. I have control on both ends.

Right now, I am trying to load the keys/values from a property list using setValuesForKeysWithDictionary: (the dataset size is small)

I tried pointing the persistentStoreCooridator to URLWithString:@"http://url";,
but that doesn't work.


Essentially, I'm trying to take the simplest route possible, without having to iterate through values, etc.

Any suggestions?

Thanks.

Cheers,

Peter


On Apr 10, 2006, at 6:54 PM, William Bumgarner wrote:

On Apr 10, 2006, at 8:46 PM, Peter Sampson wrote:
What is the best way to import an XML store type into an in-memory store. Both have the exact same model structure, etc.

Thanks a lot for your help and/or pointing me in the right direction.

Why would you want to? An XML store is inherently an "in-memory" store save for that it knows how to archive itself out to disk (there are some internal differences, but nothing apparent via the API). Once an XML store is loaded, it'll act just like an in- memory store.


b.bum


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >... loading XML store type into in-memory store... (From: Peter Sampson <email@hidden>)
 >Re: ... loading XML store type into in-memory store... (From: William Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.