Reputation: 3880
I am trying to create and objective-c class (subclassed UIViewController) with xcode 4.4. I go to File->new and select an objective-c class template under ios/Cocoa Touch. It says that this selection will create "An Objective-C class, with implementation and header files.". But it only creates an implementation file. The implementation file has a #import for the missing header file.
I am using storyboards. I did not select "With XIB for user interface".
Am I doing something wrong? If this is a bug, any suggestions about how to get around it?
Upvotes: 3
Views: 1263
Reputation: 3880
ok, I found a solution. First I deleted the header file that I saw with Finder in the project directory. Then I went into xcode and deleted the implementation file. Then I started over and re-created the objective-c class. This time the header file was created. Weird
Upvotes: 1