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

General Discussion

[SOLVED] Code challenge : dismissing your keyboard HELP

Here's the question : Now switch to the implementation file and set the two text field properties to have this TeaDetailViewController class as their delegates.

And here's the line of code i added in the ViewDidLoad method of the implementation file:

self.teaDetailViewController.delegate=self;

But clearly it doesn't work so i m LOST...

4 Answers

Can you provide a link to the challenge?

self.teaNameField.delegate = self;
    self.teaTypeField.delegate = self;

:)

Thanks ! That was a tricky one for me at least !