Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Photo Browser iPhone App Collection Views Customizing a UICollectionViewFlowLayout

Akshat Ratanpal
Akshat Ratanpal
903 Points

UINavigationController Error

When I run the app, I get a message of "Build Successful". However, I get a message in the console "(lldb)" and another message "Thread1 : breakpoint 1.1" and my iPhone simulator does not start up.

Akshat Ratanpal
Akshat Ratanpal
903 Points

This is the code segment I am having issues with:

FWPhotosViewController *photosViewController = [[FWPhotosViewController alloc] init];
    UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:photosViewController];
    self.window.rootViewController = navigationController;

1 Answer

Hi Akshat,

Looks like you have a breakpoint in there somewhere. This is easy enough to fix.

Have a look at this post and let me know if that doesn't give you the solution.

Thanks,

Steve.

No problem - hope you got it working.

Steve.