iosswiftxcodexcode11outlet

How can i solve my drag-drop outlet problem?


i am trying to make an outlet from main.storyboard to ViewController.swift, but when i drag an outlet from my view in storyboard, xcode isn't showing any place where to put an outlet. How can i solve this problem? Thanks


Solution

  • you need to add your class file name like below enter image description here