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

Hi,

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