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 Introduction to Table Views Decoupling the Data Source Communicating With the Master View

I am unable to add reference outlets by dragging. ContactCell class becomes internal in assistant editor.

Please help me..(

I am unable to add reference outlets by dragging. ContactCell class becomes internal in assistant editor. What do you think about this and how can i solve this error?

Jeff McDivitt
Jeff McDivitt
23,970 Points

Can you screenshot what you are referring to?

3 Answers

Ben Moore
Ben Moore
22,588 Points

If you are talking about where he control-drags right at 6 minutes in on the "Custom Prototype Cells" video, you need to make sure you followed along carefully at 5 minutes and 30 seconds in. He quickly clicks the ContactCell and then navigates to the Identity Inspector and sets the Custom Class to ContactCell. That action allows all objects under the ContactCell hierarchy to control-drag in the Standard Editor to the ContactCell.swift file.

Jaroslaw Adamowicz
Jaroslaw Adamowicz
11,634 Points


pleae show code and pin point where the error is (wich line) ?

Screenshot maybe useful as well.

It is hard to tell what problem you are facing at this point.

Thank you for your response. I am unable to add the screenshot. I tried to recreate this issue, i deleted the reference and tried to add it again. The image reference outlet can be added to contact detail controller however i am unable to add the same reference outlet to ContactCell class. No pop up to write the reference name is shown either. thank you