Doug Smith
Doug Smith

Reputation: 29314

It won't allow me to create an outlet

I've got a Table View Controller object in my Storyboard, but I've made it a custom class called StaticDetailViewController, which I created as a subclass of UITableViewController.

However, when I go to drag from the view to the .h file in the Assistant view, no connection option appears. Why is this?

Upvotes: 0

Views: 305

Answers (1)

jhilgert00
jhilgert00

Reputation: 5489

You have to open and close your curly braces for your @interface in the .h file. For some reason it won't let you control drag using the assistant editor unless you do so... (screenshot)

enter image description here

Upvotes: 2

Related Questions