-2

I am trying to create an outlet but xcode doesn't let me, I press ctrl+drag as always.

Here a screenshot of the viewcontroller and conversationVC.swift:

enter image description here

btw in the top right when I write the class as conversationVC.swift it always delete itself and stays empty,

please share your knowledge.

Kernel
  • 31
  • 1
  • 7
  • Check if you correctly set the class of the `UIViewController` to `conversationVC`. Also, you are trying to link it between line 14 & 19, right? – Larme Sep 05 '18 at 16:24
  • In storyboard or XIB make sure you select the scene from the left side and write your Controller name in Class field, also **Target membership** your app – Abdulaziz.Musaileekh Sep 05 '18 at 16:24

1 Answers1

0

I have found the answer here, need to click on yellow button and then to set the class name

Kernel
  • 31
  • 1
  • 7