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 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.