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

webwrapper

This is a simple iOS app shell that is designed to wrap multiple mobile web sites. There is a slide-out menu (using https://github.com/John-Lluch/SWRevealViewController) with links for navigating between each website. It can also be configured to cache the contents of each website for offline viewing.

See settings.plist for examples of how to use/configure the app. Basically, you can create one or more "Navigation Items", which will appear in the sidebar list. Each of those can point to a static URL, or a dynamic URL that is pulled from the App settings (if you include a Settings.bundle with your project).


See my other jockeyjs-alerts project (https://github.com/t-evans/jockeyjs-alerts) for a javascript library that can send native-style alerts to this app. It makes use of my fork of Tim Coulter's JockeyJS lib (https://github.com/tcoulter/jockeyjs) for communication to/from the web sites that are loaded into this app.


I'm not currently doing any further development on this project, as it meets my needs, as is.



LICENSE

(BSD 3-Clause)

Copyright (c) 2015, Nutrislice, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.