Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed [webViewController release] from README

Because of ARC "relase" is not needed.
  • Loading branch information...
commit c6eb3c472232b5d7f8233e1ba59dbdf63286d53f 1 parent b49aae2
@Fogh Fogh authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.textile
View
6 README.textile
@@ -29,15 +29,13 @@ Just like any UIViewController, SVWebViewController can be pushed into a UINavig
<pre>
SVWebViewController *webViewController = [[SVWebViewController alloc] initWithAddress:@"http://google.com"];
[self.navigationController pushViewController:webViewController animated:YES];
-[webViewController release];
</pre>
It can also be presented modally using @SVModalWebViewController@:
<pre>
SVModalWebViewController *webViewController = [[SVModalWebViewController alloc] initWithAddress:@"http://google.com"];
-[self presentModalViewController:webViewController animated:YES];
-[webViewController release];
+[self presentModalViewController:webViewController animated:YES];

Deprecated since iOS 6.0, use:

    [self presentViewController:webViewController animated:YES completion:^{
        // Completion handler (called after the viewDidAppear: method is called on the presented view controller).
    }];
@samvermette Owner

You're right. Feel free to submit a PR that handles both iOS 6+ and iOS 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
</pre>
h3. Changing the bars tint color
@@ -62,4 +60,4 @@ Default is @SVWebViewControllerAvailableActionsOpenInSafari | SVWebViewControlle
h2. Credits
-SVWebViewController is brought to you by "Sam Vermette":http://samvermette.com and "contributors to the project":https://github.com/samvermette/SVWebViewController/contributors. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by "creating new issues":https://github.com/samvermette/SVWebViewController/issues/new. If you're using SVWebViewController in your project, attribution would be nice.
+SVWebViewController is brought to you by "Sam Vermette":http://samvermette.com and "contributors to the project":https://github.com/samvermette/SVWebViewController/contributors. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by "creating new issues":https://github.com/samvermette/SVWebViewController/issues/new. If you're using SVWebViewController in your project, attribution would be nice.
Please sign in to comment.
Something went wrong with that request. Please try again.