added share button

done.

On Wed, Nov 12, 2014 at 3:38 PM, Fabian <notifications@github.com> wrote:

> In RandomRun/UI/RunCompletedViewController.m:
>
> > @@ -54,6 +57,13 @@ - (IBAction)done:(id)sender
> >      [self.navigationController popToRootViewControllerAnimated:YES];
> >  }
> >
> > +- (IBAction)share:(id)sender
> > +{
> > +    NSString *textToShare = self.messageLabel.text;
> > +    UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[textToShare] applicationActivities:nil];
>
> Break this long line up between parameter calls and line up the :s
>
>     UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[textToShare]
>                                                                                          applicationActivities:nil];
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mojotech/random-run/pull/15/files#r20248774>.
>