Re: Webview and dynamic content
Re: Webview and dynamic content
- Subject: Re: Webview and dynamic content
- From: Steven Degutis <email@hidden>
- Date: Sat, 27 Feb 2010 07:52:53 -0500
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@hidden> 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@hidden)
>
> 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:
>
> This email sent to email@hidden
>
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden