Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

DANIEL ROSSI
DANIEL ROSSI
525 Points

Ribbit

Hello,

I have just completed "Signing Up New Users Part 1" on Ribbit and when I run it, it goes straight to the Inbox, not the LogIn view?

Any thoughts?

2 Answers

Nick Sint
Nick Sint
4,208 Points

Potentially you forgot to add the "if" statement that is required in the implementation file for InboxViewController.

The "if" statement should check whether or not there is a current user already logged in. If there isn't, then there should be a command to perform a segue to LoginViewController (which is another element you potentially forgot).

If you share the viewDidLoad code you have so far, it would help to determine why the problem is occurring.

DANIEL ROSSI
DANIEL ROSSI
525 Points

I have found it! Thank you very much for your reply!

Daniel