Can't drag outlets from Storyboard to Assistant editor in XCode

econclicks picture econclicks · Jul 2, 2012 · Viewed 25.5k times · Source

I used to be able to do this in XCode, and now suddenly I can't in a new project I've opened that was sent over by a friend.

Is there a particular setting I have to change to start this again?

I.e. there is a textbox I want to link via Code, and now I just can't. :(

Need help guys!

Answer

Omar Abdelhafith picture Omar Abdelhafith · Jul 2, 2012

You most likely have an assistant editor window opened to a wrong class, you will need to check on your currently selected view controller and make sure that its the same that is opened in the assistant editor

Or in assistant editor, select automatic (check screenshot)

enter image description here

enter image description here