cleaned up loginViewController, added segues

@matthandlersux @jondistad

We want the user to be redirected to the Map view if a facebook session is active. Any idea why <code>loginViewShowingLoggedInUser</code> and <code>loginViewShowingLoggedOutUser</code> are not always called on sign in/out?
i figured, but still not sure why… just for fun?

NO FUN ALLOWED


On Mon, Jul 28, 2014 at 12:03 PM, Jon Distad <notifications@github.com>
wrote:

> In Ping/Ping/Ping/LoginViewController.m:
>
> >  - (void)loginViewFetchedUserInfo:(FBLoginView *)loginView
> >                user:(id<FBGraphUser>)user {
> > -  NSLog(@"fetching user info");
> > +  NSLog(@"loginViewFetchedUserInfo");
> > +}
> > +
> > +- (void)loginViewShowingLoggedInUser:(FBLoginView *)loginView {
> > +  NSLog(@"loginViewShowingLoggedInUser");
> > +  [self performSegueWithIdentifier:@"loginToMapSegue" sender:self];
> > +}
> > +
> > +-(void)fbDidLogin {
> > +  NSLog(@"Erfolgreich eingeloggt....");
>
> Google Translate says German for "Successfully logged in"
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Originate/interns-2014-ping-ios/pull/4/files#r15471297>
> .
>



-- 


*Matt Handler*Director of Software
Originate
New York
m: 240-353-6468
www.originate.com