Stacker is an iOS view-controller to kickstart development of hybrid native/web iOS apps.
Objective-C Ruby Shell HTML C
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
Example
Lib
.gitignore
.gitmodules
CHANGELOG.md
LICENSE
LMStacker.podspec
README.md
Rakefile

README.md

Drawing

Stacker is an iOS view-controller to kickstart development of hybrid native/web iOS apps. Stacker was built to keep your navigation native while the rest of your app is driven by webviews using Stacker's special URLs.

Built for: iPhones running iOS 7 & iOS 8 (iPad support coming soon)

Features

  • Build URL-driven iOS apps
  • Send messages between Obj-C and JavaScript
  • Custom navigation button handlers
  • View external websites in a separate modal view
  • Theming options
  • Pull to refresh on all pages
  • Error pages
  • App version and device information sent in HTTP headers

Getting Started & Documentation

View the official Stacker documentation to get started.

Creating a StackerController

If you're using CocoaPods:

In your Podfile add:

pod 'LMStacker', :git => 'https://github.com/lokimeyburg/Stacker.git'

And then run

$ pod install

Now in your XCode project:

// Import Stacker
#import "LMStackerController.h"

// Create a controller and point it to your web app's url
LMStackerController *myController = [[LMStackerController alloc] initWithURL:@"http://localhost:3000?x_page_title=Home"];

How to update the documentation

The documentation site is being created with Github Pages and so it can be found by checking out the "gh-pages" branch. The actual documentation is in the /docs folder. If you find a spelling mistake or any errors in the documentation please submit a pull request to the branch.