CGTheLegend
CGTheLegend

Reputation: 774

UIViewController in Xcode 5 - Outlet not showing up

I running the latest version of Xcode 5 and OSX 10.9.4. I am a newbie when it comes to Xcode.

I am trying to make buttons with a rectangular rounded border which apparently has been removed in iOS 7 from a simple UI object.

My work around is to create a UIController View Class and link my button to the class via an outlet with using the control drag method. But when I drag it over from the storyboard to the .h file of the class it does not automatically generate the outlet.

I have tried creating a new Objective-C Class that extends ViewControler and UIViewController, and have found that I cannot control drag the button to make an outlet for either class.

I was wondering if anyone else was experiencing this same issue or if they know what I am doing wrong.

Solution in Detail:

Note: It may show as a grey text of the class you want. You want to fill it out and make sure it is a solid black.

Upvotes: 1

Views: 2075

Answers (1)

Karthi
Karthi

Reputation: 13752

Check whether ViewController in nib have a proper reference to ViewController.henter image description here

enter image description here

Make sure that reference has been made properly with viewcontrollers in nib file.

Upvotes: 3

Related Questions