Cannot set outlets in Storyboard Scene

I have a simple class:

import UIKit

class MainViewController: UIViewController {
@IBOutlet public weak var pageViewController: PageViewController
@IBOutlet public weak var tableView: UITableView

}

In the storyboard I have a UIViewController with the class set to MainViewController. I’ve cleaned and compiled the project, but when I “Edit in Xcode”, the Xcode project doesn’t show my properties to connect to my objects. My classes.h and classes.m files only have AppDelegate.

Using Fire v10.0.2305

Aaron,

Make sure to also mark the class with @IBObject. that prevents type name mangling. The templates should have that, by default, but if you wrote the class by hand, you’d have to add it.

That fixed it. Thanks.

1 Like