On Feb 28, 2010, at 1:56 AM, Jere Gmail wrote:
> I know, but I'm gonna have different json files and also the webpage
> with a few images, and due to javascript limitations, they have to be
> on the same root folder, that is it can be in "webfolder/something"
> but not in "webfolder/../something"
I know, but I'm gonna have different json files and also the webpage
with a few images, and due to javascript limitations, they have to be
on the same root folder, that is it can be in "webfolder/something"
but not in "webfolder/../something"
On Sat, Feb 27, 2010 at 5:52 PM, Jens Alfke wrote:
>
>
On Feb 27, 2010, at 2:39 AM, Jere Gmail wrote:
> 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.
There's no reason to copy the files to the app support
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 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