t-evans / webwrapper

A simple iOS app shell that is designed to wrap multiple mobile web sites. There is a slide-out menu with links for navigating between each website. It can also be configured to cache the contents of each website for offline viewing.
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Thanks Mr. Evans #1

Open Formgram opened 9 years ago

Formgram commented 9 years ago

This webwrapper works great!

It'll be great if you're still innovating on this code.

Would it be on your roadmap to add a capability to have the app automatically load each navigationItem simultaneously in the background when the user opens the app? Thanks

t-evans commented 9 years ago

I had moved this project elsewhere (to a private repository) and had forgotten that this one was still here on github... I just pushed several updates here (mostly bug fixes) from my other project and added a license. I also made the settings file more generic.

If you continue using this project, you should start from the current/new code base, as the previous one didn't have a license yet. If you made a modified settings.plist file (as I assume you did, if you are using this), it should still work with this new version, however you should remove references to "nutrislice" from it, if there are any.

That's a good suggestion on pre-loading the navigation items, however, you would only be able to do that if the pages you are loading are VERY small. If too many pages are loaded, the OS will begin sending memory warnings to the app, and the app will begin freeing up whichever web views are not currently being viewed by the user.

Formgram commented 9 years ago

Thanks Mr. Evans for the bug fixes.

This new version works very smoothly with my modified settings.plist file.

To prevent the OS from sending memory warnings and freeing up web views that are not currently being viewed, what do you think about caching the web views into local storage?

Formgram commented 9 years ago

Just added a minor update to enable custom URLs and deep linking for your app.

I wasn't able to push to this repository or add a branch, so it's forked at https://github.com/Formgram/webwrapper

Hope this helps.

By the way, my email is henry@formgram.com

Formgram commented 9 years ago

Mr. Evans, are you available for hire?

t-evans commented 9 years ago

Sorry, I'm booked pretty solid for the time being.

t-evans commented 9 years ago

Regarding your local storage suggestion, the app already caches the pages into the phone's storage (there is a setting for configuring which pages should be cached). However, the app, currently, only uses the cache if/when there is no Internet connection available (to give it an offline mode). The pages we use with this app change fairly frequently, so we intentionally avoid the cache most of the time. You could change that for your app, if you'd like.

Formgram commented 9 years ago

Thanks Mr. Evans. The only thing left to figure out is make the navigationItems (in the tableView in sideBarViewController) scrollable again like it was in last year's version of your webWrapper.