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 Blog Reader iPhone App Rebuilding from Scratch Starting Over

Do I get it right: I don't subclass UIApplication to access didFinishLaunching, I simply use one of it's methods?

This follows giving the wrong answer on one of quiz questions and not understanding the logic behind the right answer.

1 Answer

The AppDelegate.swift conforms to the protocol UIApplicationDelegate. Therefore didFinishLaunching should be called from within here.

See; https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/