• This repository has been archived on 14/Jun/2024
  • Stars
    star
    804
  • Rank 56,681 (Top 2 %)
  • Language
    Swift
  • Created over 9 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Universal Swift-based boilerplate for a web app.

Simple Universal Webview App

This is an Xcode 6 Universal project that allows you to wrap your website or web app in a super simple iOS app.

Setup

  • Clone this repo, or hit "Download ZIP" in the Github sidebar.

Local mode (recommended)

  • Replace the stuff in www with your own mobile website.
  • Hit Run!

Internet mode

  • In ViewController.swift, switch around the commented out URL lines.
  • Set your URL...
  • Hit Run!

Why?

So you can build an iOS app in HTML/CSS/JS without using Cordova.

HTML web apps are totally awesome for layout content and typography. Tons of big apps like Instagram use HTML layouts and CSS styling for parts of their apps.

If you are a web developer who wants to release an iOS app, this should help you cut some corners when it comes to learning Swift.

Ideal use

Single page web app with on-screen/no navigation. For example, a game, interactive page, web based slideshow, etc.