Store them in your app's bundle.

Related, if you want my 2¢, try as often as you can to avoid using a
WebView. If you can replace its functionality with native Cocoa (and Touch)
controls then that is the recommended development path.

-Steven

On Sat, Feb 27, 2010 at 5:39 AM, Jere Gmail <[email protected]> wrote:

> Hi there,
> I'm developing an app that relies on a webpage. This page has to load
> local files (json or xml) that i save on the hard drive.
> What's the better way to implement it. I've think two options: save
> the json files in the app resources folder, same way iPhoto stores the
> files. Or save them in the app support directory.
> The second way round I have to move the web to this folder in order to
> let javascript load the local files.
> Which one is better as I plan to port the app to OSX and iPhone.
>
> --
> "Infinity is only the beginning" π
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com
>
> This email sent to [email protected]
>



-- 
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to