Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Minimalistic WebViewController

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 THWebViewController
Octocat-spinner-32 THWebViewControllerExample
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.mkdn
Octocat-spinner-32 THWebViewController.podspec
Octocat-spinner-32 snapshot.png
README.mkdn

THWebViewController - Tiny implementation of WebViewController

Snapshot

DESCRIPTION

This is a tiny library for iOS(iPhone/iPad). This library only provides one class named THWebViewController. So it's same as TTWebViewController and NIWebViewController. Yes, THWebViewController is forked from NIWebViewController.

You can drop in 1 header, 1 code, 1 bundles, that's all. Very easy.

I don't like large application frameworks for iOS application. Since I'm minimalist.

SYNOPSIS

THWebViewController * webController = [[THWebViewController alloc] init];
[webController openURL:[NSURL URLWithString:@"http://tou.ch/"]];
[self.navigationController pushViewController:webController
                                     animated:YES];

DEPENDENCIES

There is no dependencies.

SUBCLASSING

THWebViewController supports subclassing.

THWebViewController is UIViewController < UIWebViewDelegate, UIActionSheetDelegate >.

You can override following methods in your subclass.

  • UIWebViewDelegate
    • - webView:shouldStartLoadWithRequest:navigationType:
    • - webViewDidStartLoad:
    • - webViewDidFinishLoad:
    • - webView:didFailLoadWithError:
  • UIActionSheetDelegate
    • - actionSheet:clickedButtonAtIndex:
    • - actionSheet:didDismissWithButtonIndex:

CREDITS

LICENSE

Apache License(Same as nimbus, three20) For more details, please read LICENSE file.

Something went wrong with that request. Please try again.