diff --git a/5by5Browser/SSDetailViewController.m b/5by5Browser/SSDetailViewController.m
index 35a6b17..3d50ccc 100644
--- a/5by5Browser/SSDetailViewController.m
+++ b/5by5Browser/SSDetailViewController.m
@@ -53,7 +53,7 @@
}
}
-- (void)configureView
+- (void) configureView
{
if (self.episode) {
self.title = self.episode.name;
@@ -64,7 +64,7 @@
[self goHome: nil];
}
-- (void)viewDidLoad
+- (void) viewDidLoad
{
[super viewDidLoad];
[self configureView];
@@ -77,7 +77,7 @@
}
}
-- (void)viewDidUnload
+- (void) viewDidUnload
{
[self setWebView:nil];
[self setBackButton:nil];
@@ -88,7 +88,7 @@
[super viewDidUnload];
}
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation
{
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
@@ -134,9 +134,8 @@
}
}
-- (IBAction) sendToInstapaper: (id)sender
+- (void) sendURLToInstapaper: (NSString *)url
{
- NSString *url = self.webView.request.URL.absoluteString;
NSDictionary *fields = [NSDictionary dictionaryWithObjectsAndKeys:
kInstapaperUser, @"username",
kInstapaperPassword, @"password",
@@ -159,6 +158,11 @@
}];
}
+- (IBAction) sendToInstapaper: (id)sender
+{
+ [self sendURLToInstapaper: self.webView.request.URL.absoluteString];
+}
+
#pragma mark - Split view
- (void) splitViewController: (UISplitViewController *)splitController
diff --git a/5by5Browser/en.lproj/SSDetailViewController_iPhone.xib b/5by5Browser/en.lproj/SSDetailViewController_iPhone.xib
index fa9c1f2..22e1e43 100644
--- a/5by5Browser/en.lproj/SSDetailViewController_iPhone.xib
+++ b/5by5Browser/en.lproj/SSDetailViewController_iPhone.xib
@@ -61,7 +61,6 @@
{{0, 416}, {320, 44}}
-
_NS:371
NO
NO