Skip to content

Stacker is an iOS view-controller to kickstart development of hybrid native/web iOS apps.

License

Notifications You must be signed in to change notification settings

lokimeyburg/Stacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Stacker is an iOS view-controller to kickstart development of hybrid native/web iOS apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •