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

Changing the default AppDelegate?

I'm trying this tutorial on ScrollView (to try to pinch zoom on a background):

https://www.youtube.com/watch?v=RObFoKl98bc

However, he starts with a "ScrollViewAppDelegate", which is slightly different than the default "AppDelegate" you get with an "Empty Application".

Does anyone know how to specify a custom AppDelegate class?

Masao

UPDATE: I checked out this video:

http://teamtreehouse.com/library/ios-5-foundations/storyboards/delegation

However, it's more about using a custom delegate property, not an entirely new custom AppDelegate interface file.

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

I haven't used a custom delegate myself, but here's a question on StackOverflow that sounds like a good answer for how to substitute a custom AppDelegate: http://stackoverflow.com/questions/9061239/how-to-change-the-app-delegate-class