Donald Steele
Donald Steele

Reputation: 17

Adding .xib , .h & . m to an existing storyboard.

I am very new at iOS programing and Xcode. I have learned a lot. And most of it from this forem but I just can't find the answer to what I think is such a basic question.

I have started a new project using Xcode 4.5 that has a storyboard. The storyboard is just the basic two view storyboard. My app needs a "start up" view. While I've been able, through "add file" to add the view (.xib) file. I don't see a way to include this view ( and it's .h & .m) to the storyboard. I would think it would be basically drag & drop but I see no such option.

Thanks.

Upvotes: 2

Views: 1437

Answers (1)

David Raijmakers
David Raijmakers

Reputation: 1379

File..> New>File>Objective C File > Class name (yourname) Subclass of: UIViewController and click on the checkbox for: "With XIB for User Interface"

Good Luck

Upvotes: 1

Related Questions