How to create new h and m file in Xcode6
Asked Answered
C

2

9

I downloaded Xcode6 and create a simple project.When i choose objective C option from new file template it creates a file name with .m extension.I do not know how to create new .h and .m file in Xcode6.any help will be appreciated.thanks in advance

Cornel answered 12/9, 2014 at 10:10 Comment(0)
B
20

CMD + N -> iOs -> Cocoa Touch -> Objective-C Class

Bilk answered 12/9, 2014 at 10:13 Comment(0)
K
5

To create a Objective-C class, you have to select "Cocoa class". This will create an .h and .m file for you. Alternatively you can manually add a "Header file" with the same name, but thats just more work for the same thing.

Kloman answered 12/9, 2014 at 10:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.